An open API service indexing awesome lists of open source software.

https://github.com/grondilu/trigpi

sinPi, cosPi and cisPi functions
https://github.com/grondilu/trigpi

cospi sinpi trigonometry

Last synced: 3 months ago
JSON representation

sinPi, cosPi and cisPi functions

Awesome Lists containing this project

README

        

TrigPi
======
[![Build Status](https://travis-ci.org/grondilu/trigpi.svg)](https://travis-ci.org/grondilu/trigpi)

This modules implements `cosPi`, `sinPi` and `cisPi` as mentioned in [IEEE
754](https://www.csee.umbc.edu/~tsimo1/CMSC455/IEEE-754-2008.pdf).

`cosPi($x)`, `sinPi($x)` and `cisPi($x)`
are designed to be more accurate values of
`cos($x*pi)`, `sin($x*pi)` and `cis($x*pi)` respectively,
especially for large values of `$x`.