OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cosh
(Results
1 - 20
of
20
) sorted by relevancy
/src/lib/libm/src/
w_cosh.c
19
* wrapper
cosh
(x)
27
__weak_alias(
cosh
, _cosh)
31
cosh
(double x) /* wrapper
cosh
*/
40
return __kernel_standard(x,x,5); /*
cosh
overflow */
e_coshl.c
50
* |
cosh
(x) - c(x)| < 2**-68.8
66
* |
cosh
(x) - c(x)| < 2**-121.69
111
RETURNI(1+tiny); /*
cosh
(tiny) = 1(+) with inexact */
136
/* |x| > o_threshold,
cosh
(x) overflow */
145
return
cosh
(x);
namespace.h
29
#define
cosh
_cosh
macro
/src/lib/libm/complex/
ccosh.c
44
w =
cosh
(x) * cos(y) + (sinh(x) * sin(y)) * I;
csinh.c
44
w = sinh(x) * cos(y) + (
cosh
(x) * sin(y)) * I;
ctanh.c
44
d =
cosh
(2.0 * x) + cos(2.0 * y);
ctan.c
46
d = cos(2.0 * creal(z)) +
cosh
(2.0 * cimag(z));
cephes_subr.c
37
/* calculate
cosh
and sinh */
45
*c =
cosh
(x);
82
/* Taylor series expansion for
cosh
(2y) - cos(2x) */
/src/lib/libm/noieee_src/
n_cosh.c
33
static char sccsid[] = "@(#)
cosh
.c 8.1 (Berkeley) 6/4/93";
37
/*
COSH
(X)
55
* 0 <= x <= 0.3465 :
cosh
(x) := 1 + -------------------
59
* 0.3465 <= x <= 22 :
cosh
(x) := -------------------
61
* 22 <= x <= lnovfl :
cosh
(x) := exp(x)/2
63
* :
cosh
(x) := exp(x)/2 (avoid overflow)
69
*
cosh
(x) is x if x is +INF, -INF, or NaN.
70
* only
cosh
(0)=1 is exact for finite x.
73
*
cosh
(x) returns the exact hyperbolic cosine of x nearly rounded.
89
__weak_alias(
cosh
, _cosh)
[
all
...]
/src/tests/lib/libm/
t_cosh.c
57
*
cosh
(3)
62
atf_tc_set_md_var(tc, "descr", "
cosh
(x) for some values");
74
if (!(fabs((
cosh
(x) - cosh_x)/cosh_x) <= eps)) {
75
atf_tc_fail_nonfatal("
cosh
(%.17g) = %.17g != %.17g\n",
76
x,
cosh
(x), cosh_x);
84
atf_tc_set_md_var(tc, "descr", "Test
cosh
(NaN) == NaN");
92
ATF_CHECK(isnan(
cosh
(x)) != 0);
98
atf_tc_set_md_var(tc, "descr", "Test
cosh
(-Inf) == +Inf");
104
double y =
cosh
(x);
113
atf_tc_set_md_var(tc, "descr", "Test
cosh
(+Inf) == +Inf")
[
all
...]
/src/tests/lib/lua/libm/
h_lualibm.c
26
TEST(
cosh
(M_SQRT1_2));
27
TEST(acosh(
cosh
(M_SQRT1_2)));
lualibm.lua
32
test("
cosh
(M_SQRT1_2)", lm.
cosh
(lm.M_SQRT1_2))
33
test("acosh(
cosh
(M_SQRT1_2))", lm.acosh(lm.
cosh
(lm.M_SQRT1_2)))
/src/include/
tgmath.h
140
#define
cosh
(a) __TG_COMPLEX((a),
cosh
)
macro
math.h
246
double
cosh
(double);
/src/lib/lua/libm/
libm.c
118
DFUNC_DBL(
cosh
)
254
{ "
cosh
", libm_cosh },
/src/usr.bin/xlint/llib/
llib-lstdc
103
double (
cosh
)(double x);
llib-lposix
96
double (
cosh
)(double x);
/src/lib/libm/
Makefile
447
ceil.3 copysign.3 cos.3
cosh
.3 \
485
MLINKS+=
cosh
.3 coshf.3
486
MLINKS+=
cosh
.3 coshl.3
/src/sys/arch/m68k/060sp/dist/
fplsp.s
7582
# fp0 =
cosh
(X) #
7592
#
COSH
#
7595
# 2. (|X| <= 16380 log2)
Cosh
(X) is obtained by the formulae #
7597
#
cosh
(X) = (1/2)*( z + 1/z ). #
7603
#
cosh
(X) = sign(X) * exp(|X|)/2. #
7609
#
cosh
(X) := Fact * exp(Y'). #
7633
#--
COSH
(X) = (1/2) * ( EXP(X) + 1/EXP(X) )
7679
#--
COSH
(X) = 1 FOR DENORMALIZED X
fpsp.s
7688
# fp0 =
cosh
(X) #
7698
#
COSH
#
7701
# 2. (|X| <= 16380 log2)
Cosh
(X) is obtained by the formulae #
7703
#
cosh
(X) = (1/2)*( z + 1/z ). #
7709
#
cosh
(X) = sign(X) * exp(|X|)/2. #
7715
#
cosh
(X) := Fact * exp(Y'). #
7739
#--
COSH
(X) = (1/2) * ( EXP(X) + 1/EXP(X) )
7785
#--
COSH
(X) = 1 FOR DENORMALIZED X
Completed in 38 milliseconds
Indexes created Sat Oct 18 21:09:54 GMT 2025