factor/basis/math/libm/libm.factor

65 lines
1.2 KiB
Factor
Raw Normal View History

2007-09-20 18:09:08 -04:00
! Copyright (C) 2006 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
2010-04-14 15:25:22 -04:00
USING: alien alien.c-types alien.syntax ;
2007-09-20 18:09:08 -04:00
IN: math.libm
2010-04-14 15:25:22 -04:00
LIBRARY: libm
2007-09-20 18:09:08 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: facos
double acos ( double x ) ;
2007-09-20 18:09:08 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: fasin
double asin ( double x ) ;
2007-09-20 18:09:08 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: fatan
double atan ( double x ) ;
2007-09-20 18:09:08 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: fatan2
double atan2 ( double x, double y ) ;
2007-09-20 18:09:08 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: fcos
double cos ( double x ) ;
2007-09-20 18:09:08 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: fsin
double sin ( double x ) ;
2008-05-26 18:15:54 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: ftan
double tan ( double x ) ;
2007-09-20 18:09:08 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: fcosh
double cosh ( double x ) ;
2007-09-20 18:09:08 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: fsinh
double sinh ( double x ) ;
2008-05-26 18:15:54 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: ftanh
double tanh ( double x ) ;
2007-09-20 18:09:08 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: fexp
double exp ( double x ) ;
2007-09-20 18:09:08 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: flog
double log ( double x ) ;
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: flog10
double log10 ( double x ) ;
2007-09-20 18:09:08 -04:00
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: fpow
double pow ( double x, double y ) ;
FUNCTION-ALIAS: fsqrt
double sqrt ( double x ) ;
! Windows doesn't have these...
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: flog1+
double log1p ( double x ) ;
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: facosh
double acosh ( double x ) ;
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: fasinh
double asinh ( double x ) ;
2010-04-14 15:25:22 -04:00
FUNCTION-ALIAS: fatanh
double atanh ( double x ) ;