phunix/lib/nbsd_libm/src/namespace.h
Gianluca Guida 0dc9e0996a Import unmodified NetBSD's libm for compiling with new libc.
As the current libc includes a libm implementation, with the new libc
this is needed. Unneeded (for the moment) archs have been removed.
2011-03-18 15:52:16 +00:00

35 lines
692 B
C

/* $NetBSD: namespace.h,v 1.3 2010/04/23 19:17:07 drochner Exp $ */
#define atan2 _atan2
#define atan2f _atan2f
#define hypot _hypot
#define hypotf _hypotf
#define exp _exp
#define expf _expf
#define log _log
#define logf _logf
#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 cosh _cosh
#define coshf _coshf
#define asin _asin
#define asinf _asinf
#define casin _casin
#define casinf _casinf
#define catan _catan
#define catanf _catanf
#define scalbn _scalbn
#define scalbnf _scalbnf