| Main index | Section 3 | Options |
#include <math.h>
| cospi(±0) returns 1. | |
| cospi(±n/2) returns 0 for positive integers n. | |
| cospi(n) returns 1 for even integers n. | |
| cospi(n) returns -1 for odd integers n. | |
| cospi(±∞) return an NaN and raises an FE_INVALID exception. | |
| cospi(NaN) return an NaN and raises an FE_INVALID exception. | |
| COSPI (3) | April 1, 2017 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | I'm not interested in developing a powerful brain. All I'm after is just a mediocre brain, something like the President of the American Telephone and Telegraph Company. | ” |
| — Alan Turing | ||