summaryrefslogtreecommitdiff
path: root/lib/libm/src/namespace.h
blob: 03d1e4770238c994295e0b79f37922b1ec616e84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/* $NetBSD: namespace.h,v 1.14 2017/03/22 23:11:09 chs Exp $ */

#define atan2 _atan2
#define atan2f _atan2f
#define atan2l _atan2l
#define hypot _hypot
#define hypotf _hypotf
#define hypotl _hypotl

#define exp _exp
#define expf _expf
#define expl _expl
#define log _log
#define logf _logf
#define logl _logl

#if 0 /* not yet - need to review use in machdep code first */
#define sin _sin
#define sinf _sinf
#define cos _cos
#define cosf _cosf
#define finite _finite
#define finitef _finitef
#endif /* notyet */
#define sinh _sinh
#define sinhf _sinhf
#define sinhl _sinhl
#define cosh _cosh
#define coshf _coshf
#define coshl _coshl
#define asin _asin
#define asinf _asinf
#define asinl _asinl

#define casin _casin
#define casinf _casinf
#define casinl _casinl
#define catan _catan
#define catanf _catanf
#define catanl _catanl

#define scalbn _scalbn
#define scalbnf _scalbnf
#define scalbnl _scalbnl
#define scalbln _scalbln
#define scalblnf _scalblnf
#define scalblnl _scalblnl

#define copysignl _copysignl
#define sqrtl _sqrtl
#define cbrtl _cbrtl
#define ceill _ceill
#define floorl _floorl
#define roundl _roundl
#define fmodl _fmodl
#define modfl _modfl
#define truncl _truncl

#define exp2l _exp2l
#define cosl _cosl
#define sinl _sinl
#define tanl _tanl
#define powl _powl
#define coshl _coshl
#define sinhl _sinhl
#define acosl _acosl
#define atanl _atanl
#define asinhl _asinhl
#define acoshl _acoshl
#define tanhl _tanhl
#define atanhl _atanhl
#define log10l _log10l

#define erfl	_erfl
#define erfcl	_erfcl

#define feclearexcept _feclearexcept
#define fedisableexcept _fedisableexcept
#define feenableexcept _feenableexcept
#define fegetenv _fegetenv
#define fegetexcept _fegetexcept
#define fegetexceptflag _fegetexceptflag
#define fegetround _fegetround
#define feholdexcept _feholdexcept
#define feraiseexcept _feraiseexcept
#define fesetenv _fesetenv
#define fesetexceptflag _fesetexceptflag
#define fesetround _fesetround
#define fetestexcept _fetestexcept
#define feupdateenv _feupdateenv