OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:cospi
(Results
1 - 2
of
2
) sorted by relevancy
/src/lib/libm/src/
s_cospi.c
28
*
cospi
(x) computes cos(pi*x) without multiplication by pi (almost). First,
29
* note that
cospi
(-x) =
cospi
(x), so the algorithm considers only |x|. The
32
* 1. For small |x|,
cospi
(x) = 1 with FE_INEXACT raised where a sloppy
45
*
cospi
(x) = cos(pi*(jj0+r))
48
* = +-
cospi
(r)
51
*
cospi
(r) is then computed via an appropriate kernel.
53
* 4. For |x| >= 0x1p(P-1), |x| is integral and
cospi
(x) = 1.
57
*
cospi
(+-0) = 1.
58
*
cospi
(n.5) = 0 for n an integer
82
cospi
(double x)
function in typeref:typename:double
[
all
...]
namespace.h
33
#define
cospi
_cospi
macro
Completed in 13 milliseconds
Indexes created Tue Sep 30 20:09:53 GMT 2025