Changeset 2150 for trunk


Ignore:
Timestamp:
Jul 2, 2005, 12:40:39 PM (20 years ago)
Author:
bird
Message:

o Shopped missing math stuff from GLIBC.

Location:
trunk/src/emx
Files:
6 added
8 deleted
120 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/386/asm.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    9696#define STDENTRY(x)     ENTRY(__CONCAT(_std_,x)) /* libc */
    9797
     98
    9899#define RCSID(x)        .text; .asciz x
    99100
  • trunk/src/emx/include/complex.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    6161long double     creall(long double complex);
    6262
     63/* bird:  */
     64long double          cabsl(long double complex);
     65double complex       cacos(double complex);
     66float complex        cacosf(float complex);
     67double complex       cacosh(double complex);
     68float complex        cacoshf(float complex);
     69long double complex  cacoshl(long double complex);
     70long double complex  cacosl(long double complex);
     71double               carg(double complex);
     72float                cargf(float complex);
     73long double          cargl(long double complex);
     74double complex       casin(double complex);
     75float complex        casinf(float complex);
     76double complex       casinh(double complex);
     77float complex        casinhf(float complex);
     78long double complex  casinhl(long double complex);
     79long double complex  casinl(long double complex);
     80double complex       catan(double complex);
     81float complex        catanf(float complex);
     82double complex       catanh(double complex);
     83float complex        catanhf(float complex);
     84long double complex  catanhl(long double complex);
     85long double complex  catanl(long double complex);
     86double complex       ccos(double complex);
     87float complex        ccosf(float complex);
     88double complex       ccosh(double complex);
     89float complex        ccoshf(float complex);
     90long double complex  ccoshl(long double complex);
     91long double complex  ccosl(long double complex);
     92double complex       cexp(double complex);
     93float complex        cexpf(float complex);
     94long double complex  cexpl(long double complex);
     95double complex       clog(double complex);
     96float complex        clogf(float complex);
     97long double complex  clogl(long double complex);
     98double complex       cpow(double complex, double complex);
     99float complex        cpowf(float complex, float complex);
     100long double complex  cpowl(long double complex, long double complex);
     101double complex       cproj(double complex);
     102float complex        cprojf(float complex);
     103long double complex  cprojl(long double complex);
     104double complex       csin(double complex);
     105float complex        csinf(float complex);
     106double complex       csinh(double complex);
     107float complex        csinhf(float complex);
     108long double complex  csinhl(long double complex);
     109long double complex  csinl(long double complex);
     110double complex       csqrt(double complex);
     111float complex        csqrtf(float complex);
     112long double complex  csqrtl(long double complex);
     113double complex       ctan(double complex);
     114float complex        ctanf(float complex);
     115double complex       ctanh(double complex);
     116float complex        ctanhf(float complex);
     117long double complex  ctanhl(long double complex);
     118long double complex  ctanl(long double complex);
     119
     120/* gnu extensions? */
     121double complex       clog10(double complex);
     122float complex        clog10f(float complex);
     123long double complex  clog10l(long double complex);
    63124__END_DECLS
    64125
  • trunk/src/emx/include/math.h

    • Property cvs2svn:cvs-rev changed from 1.10 to 1.11
    r2149 r2150  
    424424long double     ceill(long double);
    425425long double     copysignl(long double, long double) __pure2;
    426 #if 1 /* bird: we've got some of these */
     426#if 1 /* bird */
    427427long double     coshl(long double);
    428428long double     cosl(long double);
    429 /*long double   erfcl(long double);
     429long double     erfcl(long double);
    430430long double     erfl(long double);
    431 long double     exp2l(long double);*/
     431long double     exp2l(long double);
    432432long double     expl(long double);
    433 /*long double   expm1l(long double);*/
     433long double     expm1l(long double);
    434434#endif
    435435long double     fabsl(long double) __pure2;
     
    439439long double     fmaxl(long double, long double) __pure2;
    440440long double     fminl(long double, long double) __pure2;
    441 #if 1 /* bird: we've got this one */
     441#if 1 /* bird */
    442442long double     fmodl(long double, long double);
    443443#endif
    444444long double     frexpl(long double value, int *); /* fundamentally !__pure2 */
    445 #if 1 /* bird: we've got this one */
     445#if 1 /* bird */
    446446long double     hypotl(long double, long double);
    447447#endif
    448448int             ilogbl(long double) __pure2;
    449449long double     ldexpl(long double, int);
    450 #if 0
     450#if 1 /* bird */
    451451long double     lgammal(long double);
    452452long long       llrintl(long double);
    453453#endif
    454454long long       llroundl(long double);
    455 #if 1 /* bird: we've got some of these */
     455#if 1 /* bird */
    456456long double     log10l(long double);
    457 /*long double   log1pl(long double);
     457long double     log1pl(long double);
    458458long double     log2l(long double);
    459 long double     logbl(long double);*/
     459long double     logbl(long double);
    460460long double     logl(long double);
    461 /*long          lrintl(long double);*/
     461long            lrintl(long double);
    462462#endif
    463463long            lroundl(long double);
    464 #if 1 /* bird: we've got some of these. */
     464#if 1 /* bird */
    465465long double     modfl(long double, long double *); /* fundamentally !__pure2 */
    466466long double     nanl(const char *) __pure2;
    467 /*long double   nearbyintl(long double);*/
     467long double     nearbyintl(long double);
    468468#endif
    469469long double     nextafterl(long double, long double);
     
    471471float           nexttowardf(float, long double);
    472472long double     nexttowardl(long double, long double);
    473 #if 1 /* bird: we've got powl. */
     473#if 1 /* bird */
    474474long double     powl(long double, long double);
    475 /*long double   remainderl(long double, long double);
    476 long double     remquol(long double, long double, int *);*/
     475long double     remainderl(long double, long double);
     476long double     remquol(long double, long double, int *);
    477477long double     rintl(long double);
    478478#endif
     
    486486long double     tanhl(long double);
    487487long double     tanl(long double);
    488 /*long double   tgammal(long double); */
     488long double     tgammal(long double);
    489489#endif
    490490long double     truncl(long double);
    491491
    492 /* bird: these were missing, gcc apparnetly inlines them. */
     492/* bird: these were missing, gcc apparently inlines them. */
    493493double          nan(const char *);
    494494float           nanf(const char *);
    495495
    496496#endif /* __ISO_C_VISIBLE >= 1999 */
     497
     498#ifdef __USE_GNU
     499/*
     500 * In GLIBC there are long variants of the XOPEN/SVID constant
     501 * block some pages ago. We need this to get the math tests going.
     502 */
     503#define M_El                2.7182818284590452353602874713526625L
     504#define M_LOG2El            1.4426950408889634073599246810018921L
     505#define M_LOG10El           0.4342944819032518276511289189166051L
     506#define M_LN2l              0.6931471805599453094172321214581766L
     507#define M_LN10l             2.3025850929940456840179914546843642L
     508#define M_PIl               3.1415926535897932384626433832795029L
     509#define M_PI_2l             1.5707963267948966192313216916397514L
     510#define M_PI_4l             0.7853981633974483096156608458198757L
     511#define M_1_PIl             0.3183098861837906715377675267450287L
     512#define M_2_PIl             0.6366197723675813430755350534900574L
     513#define M_2_SQRTPIl         1.1283791670955125738961589031215452L
     514#define M_SQRT2l            1.4142135623730950488016887242096981L
     515#define M_SQRT1_2l          0.7071067811865475244008443621048490L
     516#endif
     517
     518#ifdef __USE_GNU
     519
     520void sincos(double, double *, double *);
     521void sincosf(float, float *, float *);
     522void sincosl(long double, long double *, long double *);
     523float exp10f(float);
     524double exp10(double);
     525long double exp10l(long double);
     526float log2f(float);
     527double log2(double);
     528long double log2l(long double);
     529float tgammaf(float);
     530long double significandl(long double);
     531long double j0l(long double);
     532long double j1l(long double);
     533long double jnl(int, long double);
     534long double scalbl(long double, long double);
     535long double y0l(long double);
     536long double y1l(long double);
     537long double ynl(int, long double);
     538long double lgammal_r(long double,int *);
     539long double gammal(long double);
     540#endif
    497541__END_DECLS
    498542
  • trunk/src/emx/include/sys/cdefs.h

    • Property cvs2svn:cvs-rev changed from 1.15 to 1.16
    r2149 r2150  
    302302        __asm__(".previous")
    303303#endif  /* __STDC__ */
     304#else
     305#define __strong_reference(sym,aliassym)        \
     306        extern __typeof (sym) aliassym __attribute__ ((__alias__ (#sym)));
    304307#endif  /* __GNUC__ || __INTEL_COMPILER */
    305308
  • trunk/src/emx/src/lib/lgpl/include/config.h

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r2149 r2150  
    113113#endif
    114114
     115#ifndef __ASSEMBLER__
    115116#include "libc-alias-glibc.h"
    116117#endif
     118#endif
  • trunk/src/emx/src/lib/lgpl/include/libc-alias-glibc.h

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r2149 r2150  
    477477#define __funlockfile _STD(funlockfile)
    478478
     479/* complex */
     480#define __cabs       _STD(cabs)
     481#define __cabsf      _STD(cabsf)
     482#define __cimag      _STD(cimag)
     483#define __cimagf     _STD(cimagf)
     484#define __cimagl     _STD(cimagl)
     485#define __conj       _STD(conj)
     486#define __conjf      _STD(conjf)
     487#define __conjl      _STD(conjl)
     488#define __creal      _STD(creal)
     489#define __crealf     _STD(crealf)
     490#define __creall     _STD(creall)
     491#define __cabsl _STD(cabsl)
     492#define __cacos _STD(cacos)
     493#define __cacosf _STD(cacosf)
     494#define __cacosh _STD(cacosh)
     495#define __cacoshf _STD(cacoshf)
     496#define __cacoshl _STD(cacoshl)
     497#define __cacosl _STD(cacosl)
     498#define __carg _STD(carg)
     499#define __cargf _STD(cargf)
     500#define __cargl _STD(cargl)
     501#define __casin _STD(casin)
     502#define __casinf _STD(casinf)
     503#define __casinh _STD(casinh)
     504#define __casinhf _STD(casinhf)
     505#define __casinhl _STD(casinhl)
     506#define __casinl _STD(casinl)
     507#define __catan _STD(catan)
     508#define __catanf _STD(catanf)
     509#define __catanh _STD(catanh)
     510#define __catanhf _STD(catanhf)
     511#define __catanhl _STD(catanhl)
     512#define __catanl _STD(catanl)
     513#define __ccos _STD(ccos)
     514#define __ccosf _STD(ccosf)
     515#define __ccosh _STD(ccosh)
     516#define __ccoshf _STD(ccoshf)
     517#define __ccoshl _STD(ccoshl)
     518#define __ccosl _STD(ccosl)
     519#define __cexp _STD(cexp)
     520#define __cexpf _STD(cexpf)
     521#define __cexpl _STD(cexpl)
     522#define __clog _STD(clog)
     523#define __clogf _STD(clogf)
     524#define __clogl _STD(clogl)
     525#define __cpow _STD(cpow)
     526#define __cpowf _STD(cpowf)
     527#define __cpowl _STD(cpowl)
     528#define __cproj _STD(cproj)
     529#define __cprojf _STD(cprojf)
     530#define __cprojl _STD(cprojl)
     531#define __csin _STD(csin)
     532#define __csinf _STD(csinf)
     533#define __csinh _STD(csinh)
     534#define __csinhf _STD(csinhf)
     535#define __csinhl _STD(csinhl)
     536#define __csinl _STD(csinl)
     537#define __csqrt _STD(csqrt)
     538#define __csqrtf _STD(csqrtf)
     539#define __csqrtl _STD(csqrtl)
     540#define __ctan _STD(ctan)
     541#define __ctanf _STD(ctanf)
     542#define __ctanh _STD(ctanh)
     543#define __ctanhf _STD(ctanhf)
     544#define __ctanhl _STD(ctanhl)
     545#define __ctanl _STD(ctanl)
     546
     547/* more math */
     548#define __isinf isinf
     549#define __isnan isnan
     550#define __isnanf isnanf
     551#define __nanf nanf
     552#define __nanl nanl
     553#define __sincosf   _STD(sincosf)
     554#define __sincosl   _STD(sincosl)
     555#define __sincos    _STD(sincos)
     556#define __log1pl    _STD(log1pl)
     557#define __expm1l    _STD(expm1l)
     558#define __scalbnl   _STD(scalbnl)
     559#define __gammal    _STD(gammal)
     560#define __gammal_r  _STD(gammal_r)
     561#define __lgammal   _STD(lgammal)
     562#define __lgammal_r _STD(lgammal_r)
     563#define __gamma     _STD(gamma)
     564#define __gamma_r   _STD(gamma_r)
     565#define __lgamma    _STD(lgamma)
     566#define __lgamma_r  _STD(lgamma_r)
     567
     568
    479569#endif
  • trunk/src/emx/src/lib/lgpl/math/cabsl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
    2324
    2425long double
    25 __cabsl (long double _Complex z)
     26_STD(cabsl) (long double _Complex z)
    2627{
    2728  return __hypotl (__real__ z, __imag__ z);
    2829}
    29 weak_alias (__cabsl, cabsl)
     30/*  w e a k _ a l i a s (__cabsl, cabsl) */
  • trunk/src/emx/src/lib/lgpl/math/carg.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
    2324
    2425double
    25 __carg (__complex__ double x)
     26_STD(carg) (__complex__ double x)
    2627{
    2728  return __atan2 (__imag__ x, __real__ x);
    2829}
    29 weak_alias (__carg, carg)
     30/*  w e a k _ a l i a s (__carg, carg) */
    3031#ifdef NO_LONG_DOUBLE
    31 strong_alias (__carg, __cargl)
    32 weak_alias (__carg, cargl)
     32/*  s t r o n g _ a l i a s (__carg, __cargl) */
     33/* w e a k _ a l i a s (__carg, cargl) */
    3334#endif
  • trunk/src/emx/src/lib/lgpl/math/cargl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
    2324
    2425long double
    25 __cargl (__complex__ long double x)
     26_STD(cargl) (__complex__ long double x)
    2627{
    2728  return __atan2l (__imag__ x, __real__ x);
    2829}
    29 weak_alias (__cargl, cargl)
     30/*w e a k _ a l i a s (__cargl, cargl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/cargf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
    2324
    2425float
    25 __cargf (__complex__ float x)
     26_STD(cargf) (__complex__ float x)
    2627{
    2728  return __atan2f (__imag__ x, __real__ x);
    2829}
    29 weak_alias (__cargf, cargf)
     30/* w e a k _ a  l i a s (__cargf, cargf) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/fpu_control.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1818   02111-1307 USA.  */
    1919
     20#include "libc-alias-glibc.h"
    2021#include <math.h>
    2122#include <fpu_control.h>
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cacos.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
    2324
    2425__complex__ double
    25 __cacos (__complex__ double x)
     26_STD(cacos) (__complex__ double x)
    2627{
    2728  __complex__ double y;
     
    3536  return res;
    3637}
    37 weak_alias (__cacos, cacos)
     38/* w e a k _ a l i a s  (__cacos, cacos) */
    3839#ifdef NO_LONG_DOUBLE
    3940strong_alias (__cacos, __cacosl)
    40 weak_alias (__cacos, cacosl)
     41/* w e a k _ a l i a s  (__cacos, cacosl) */
    4142#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cacosf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
    2324
    2425__complex__ float
    25 __cacosf (__complex__ float x)
     26_STD(cacosf) (__complex__ float x)
    2627{
    2728  __complex__ float y;
     
    3637}
    3738#ifndef __cacosf
    38 weak_alias (__cacosf, cacosf)
     39/* w e a k _ a l i a s  (__cacosf, cacosf) */
    3940#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cacosh.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     24#define __nan(x) __builtin_nan(x)
    2325
    2426
    2527__complex__ double
    26 __cacosh (__complex__ double x)
     28_STD(cacosh) (__complex__ double x)
    2729{
    2830  __complex__ double res;
     
    8284  return res;
    8385}
    84 weak_alias (__cacosh, cacosh)
     86/* w e a k _ a l i a s  (__cacosh, cacosh) */
    8587#ifdef NO_LONG_DOUBLE
    8688strong_alias (__cacosh, __cacoshl)
    87 weak_alias (__cacosh, cacoshl)
     89/* w e a k _ a l i a s  (__cacosh, cacoshl) */
    8890#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cacoshf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    2526
    2627__complex__ float
    27 __cacoshf (__complex__ float x)
     28_STD(cacoshf) (__complex__ float x)
    2829{
    2930  __complex__ float res;
     
    9899}
    99100#ifndef __cacoshf
    100 weak_alias (__cacoshf, cacoshf)
     101/*w e a k _ a l i a s (__cacoshf, cacoshf)*/
    101102#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cacoshl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    8283  return res;
    8384}
    84 weak_alias (__cacoshl, cacoshl)
     85/* w e a k _ a l i a s  (__cacoshl, cacoshl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cacosl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    3536  return res;
    3637}
    37 weak_alias (__cacosl, cacosl)
     38/* w e a k _ a l i a s  (__cacosl, cacosl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_casin.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
    23 
     24#define __nan(x) __builtin_nan(x)
    2425
    2526__complex__ double
    26 __casin (__complex__ double x)
     27_STD(casin) (__complex__ double x)
    2728{
    2829  __complex__ double res;
     
    6061  return res;
    6162}
    62 weak_alias (__casin, casin)
     63/* w e a k _ a l i a s  (__casin, casin) */
    6364#ifdef NO_LONG_DOUBLE
    6465strong_alias (__casin, __casinl)
    65 weak_alias (__casin, casinl)
     66/* w e a k _ a l i a s  (__casin, casinl) */
    6667#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_casinf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    2425
    2526__complex__ float
    26 __casinf (__complex__ float x)
     27_STD(casinf) (__complex__ float x)
    2728{
    2829  __complex__ float res;
     
    6162}
    6263#ifndef __casinf
    63 weak_alias (__casinf, casinf)
     64/* w e a k _ a l i a s  (__casinf, casinf) */
    6465#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_casinh.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
    23 
     24#define __nan(x) __builtin_nan(x)
    2425
    2526__complex__ double
    26 __casinh (__complex__ double x)
     27_STD(casinh) (__complex__ double x)
    2728{
    2829  __complex__ double res;
     
    7879  return res;
    7980}
    80 weak_alias (__casinh, casinh)
     81/* w e a k _ a l i a s  (__casinh, casinh) */
    8182#ifdef NO_LONG_DOUBLE
    8283strong_alias (__casinh, __casinhl)
    83 weak_alias (__casinh, casinhl)
     84/* w e a k _ a l i a s  (__casinh, casinhl) */
    8485#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_casinhf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    2425
    2526__complex__ float
    26 __casinhf (__complex__ float x)
     27_STD(casinhf) (__complex__ float x)
    2728{
    2829  __complex__ float res;
     
    7980}
    8081#ifndef __casinhf
    81 weak_alias (__casinhf, casinhf)
     82/* w e a k _ a l i a s  (__casinhf, casinhf) */
    8283#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_casinhl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    7879  return res;
    7980}
    80 weak_alias (__casinhl, casinhl)
     81/* w e a k _ a l i a s  (__casinhl, casinhl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_casinl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    6061  return res;
    6162}
    62 weak_alias (__casinl, casinl)
     63/* w e a k _ a l i a s  (__casinl, casinl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_catan.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
    2324
    2425#include "math_private.h"
     26#define __nan(x) __builtin_nan(x)
    2527
    2628
    2729__complex__ double
    28 __catan (__complex__ double x)
     30_STD(catan) (__complex__ double x)
    2931{
    3032  __complex__ double res;
     
    8385  return res;
    8486}
    85 weak_alias (__catan, catan)
     87/* w e a k _ a l i a s  (__catan, catan) */
    8688#ifdef NO_LONG_DOUBLE
    8789strong_alias (__catan, __catanl)
    88 weak_alias (__catan, catanl)
     90/* w e a k _ a l i a s  (__catan, catanl) */
    8991#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_catanf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    2627
    2728__complex__ float
    28 __catanf (__complex__ float x)
     29_STD(catanf) (__complex__ float x)
    2930{
    3031  __complex__ float res;
     
    8485}
    8586#ifndef __catanf
    86 weak_alias (__catanf, catanf)
     87/* w e a k _ a l i a s  (__catanf, catanf) */
    8788#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_catanh.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     24
     25#define __nan(x) __builtin_nan(x)
     26
    2327
    2428#include "math_private.h"
     
    2630
    2731__complex__ double
    28 __catanh (__complex__ double x)
     32_STD(catanh) (__complex__ double x)
    2933{
    3034  __complex__ double res;
     
    7882  return res;
    7983}
    80 weak_alias (__catanh, catanh)
     84/* w e a k _ a l i a s  (__catanh, catanh) */
    8185#ifdef NO_LONG_DOUBLE
    8286strong_alias (__catanh, __catanhl)
    83 weak_alias (__catanh, catanhl)
     87/* w e a k _ a l i a s  (__catanh, catanhl) */
    8488#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_catanhf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    2627
    2728__complex__ float
    28 __catanhf (__complex__ float x)
     29_STD(catanhf) (__complex__ float x)
    2930{
    3031  __complex__ float res;
     
    7980}
    8081#ifndef __catanhf
    81 weak_alias (__catanhf, catanhf)
     82/* w e a k _ a l i a s  (__catanhf, catanhf) */
    8283#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_catanhl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    2627
    2728__complex__ long double
    28 __catanhl (__complex__ long double x)
     29_STD(catanhl) (__complex__ long double x)
    2930{
    3031  __complex__ long double res;
     
    7879  return res;
    7980}
    80 weak_alias (__catanhl, catanhl)
     81/* w e a k _ a l i a s  (__catanhl, catanhl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_catanl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    8384  return res;
    8485}
    85 weak_alias (__catanl, catanl)
     86/* w e a k _ a l i a s  (__catanl, catanl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_ccos.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
    2324#include <math.h>
     25#define __nan(x) __builtin_nan(x)
    2426
    2527
    2628__complex__ double
    27 __ccos (__complex__ double x)
     29_STD(ccos) (__complex__ double x)
    2830{
    2931  __complex__ double res;
     
    7476  return res;
    7577}
    76 weak_alias (__ccos, ccos)
     78/* w e a k _ a l i a s  (__ccos, ccos) */
    7779#ifdef NO_LONG_DOUBLE
    7880strong_alias (__ccos, __ccosl)
    79 weak_alias (__ccos, ccosl)
     81/* w e a k _ a l i a s  (__ccos, ccosl) */
    8082#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_ccosf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2526
    2627__complex__ float
    27 __ccosf (__complex__ float x)
     28_STD(ccosf) (__complex__ float x)
    2829{
    2930  __complex__ float res;
     
    7576}
    7677#ifndef __ccosf
    77 weak_alias (__ccosf, ccosf)
     78/* w e a k _ a l i a s  (__ccosf, ccosf) */
    7879#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_ccosh.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
    2324#include <math.h>
     25
     26#define __nan(x) __builtin_nan(x)
     27
    2428
    2529#include "math_private.h"
     
    2731
    2832__complex__ double
    29 __ccosh (__complex__ double x)
     33_STD(ccosh) (__complex__ double x)
    3034{
    3135  __complex__ double retval;
     
    99103  return retval;
    100104}
    101 weak_alias (__ccosh, ccosh)
     105/* w e a k _ a l i a s  (__ccosh, ccosh) */
    102106#ifdef NO_LONG_DOUBLE
    103107strong_alias (__ccosh, __ccoshl)
    104 weak_alias (__ccosh, ccoshl)
     108/* w e a k _ a l i a s  (__ccosh, ccoshl) */
    105109#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_ccoshf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2728
    2829__complex__ float
    29 __ccoshf (__complex__ float x)
     30_STD(ccoshf) (__complex__ float x)
    3031{
    3132  __complex__ float retval;
     
    100101}
    101102#ifndef __ccoshf
    102 weak_alias (__ccoshf, ccoshf)
     103/* w e a k _ a l i a s  (__ccoshf, ccoshf) */
    103104#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_ccoshl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2728
    2829__complex__ long double
    29 __ccoshl (__complex__ long double x)
     30_STD(ccoshl) (__complex__ long double x)
    3031{
    3132  __complex__ long double retval;
     
    99100  return retval;
    100101}
    101 weak_alias (__ccoshl, ccoshl)
     102/* w e a k _ a l i a s  (__ccoshl, ccoshl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_ccosl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2526
    2627__complex__ long double
    27 __ccosl (__complex__ long double x)
     28_STD(ccosl) (__complex__ long double x)
    2829{
    2930  __complex__ long double res;
     
    7475  return res;
    7576}
    76 weak_alias (__ccosl, ccosl)
     77/* w e a k _ a l i a s  (__ccosl, ccosl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cexpf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2728
    2829__complex__ float
    29 __cexpf (__complex__ float x)
     30_STD(cexpf) (__complex__ float x)
    3031{
    3132  __complex__ float retval;
     
    122123}
    123124#ifndef __cexpf
    124 weak_alias (__cexpf, cexpf)
     125/* w e a k _ a l i a s  (__cexpf, cexpf) */
    125126#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cexpl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2728
    2829__complex__ long double
    29 __cexpl (__complex__ long double x)
     30_STD(cexpl) (__complex__ long double x)
    3031{
    3132  __complex__ long double retval;
     
    121122  return retval;
    122123}
    123 weak_alias (__cexpl, cexpl)
     124/* w e a k _ a l i a s  (__cexpl, cexpl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_clog.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
    2324
    2425#include "math_private.h"
     26#define __nan(x) __builtin_nan(x)
    2527
    2628
     
    5961  return result;
    6062}
    61 weak_alias (__clog, clog)
     63/* w e a k _ a l i a s  (__clog, clog) */
    6264#ifdef NO_LONG_DOUBLE
    6365strong_alias (__clog, __clogl)
    64 weak_alias (__clog, clogl)
     66/* w e a k _ a l i a s  (__clog, clogl) */
    6567#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_clog10.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     24
     25#define __nan(x) __builtin_nan(x)
     26
    2327
    2428#include "math_private.h"
     
    2630
    2731__complex__ double
    28 __clog10 (__complex__ double x)
     32_STD(clog10) (__complex__ double x)
    2933{
    3034  __complex__ double result;
     
    5963  return result;
    6064}
    61 weak_alias (__clog10, clog10)
     65/* w e a k _ a l i a s  (__clog10, clog10) */
    6266#ifdef NO_LONG_DOUBLE
    6367strong_alias (__clog10, __clog10l)
    64 weak_alias (__clog10, clog10l)
     68/* w e a k _ a l i a s  (__clog10, clog10l) */
    6569#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_clog10f.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    2627
    2728__complex__ float
    28 __clog10f (__complex__ float x)
     29_STD(clog10f) (__complex__ float x)
    2930{
    3031  __complex__ float result;
     
    6061}
    6162#ifndef __clog10f
    62 weak_alias (__clog10f, clog10f)
     63/* w e a k _ a l i a s  (__clog10f, clog10f) */
    6364#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_clog10l.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    2627
    2728__complex__ long double
    28 __clog10l (__complex__ long double x)
     29_STD(clog10l) (__complex__ long double x)
    2930{
    3031  __complex__ long double result;
     
    5960  return result;
    6061}
    61 weak_alias (__clog10l, clog10l)
     62/* w e a k _ a l i a s  (__clog10l, clog10l) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_clogf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    6061}
    6162#ifndef __clogf
    62 weak_alias (__clogf, clogf)
     63/* w e a k _ a l i a s  (__clogf, clogf) */
    6364#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_clogl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    5960  return result;
    6061}
    61 weak_alias (__clogl, clogl)
     62/* w e a k _ a l i a s  (__clogl, clogl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cpow.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
    2324
     25#define __nan(x) __builtin_nan(x)
     26
     27
    2428
    2529__complex__ double
    26 __cpow (__complex__ double x, __complex__ double c)
     30_STD(cpow) (__complex__ double x, __complex__ double c)
    2731{
    2832  return __cexp (c * __clog (x));
    2933}
    30 weak_alias (__cpow, cpow)
     34/* w e a k _ a l i a s  (__cpow, cpow) */
    3135#ifdef NO_LONG_DOUBLE
    3236strong_alias (__cpow, __cpowl)
    33 weak_alias (__cpow, cpowl)
     37/* w e a k _ a l i a s  (__cpow, cpowl) */
    3438#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cpowf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    2425
    2526__complex__ float
    26 __cpowf (__complex__ float x, __complex__ float c)
     27_STD(cpowf) (__complex__ float x, __complex__ float c)
    2728{
    2829  return __cexpf (c * __clogf (x));
    2930}
    3031#ifndef __cpowf
    31 weak_alias (__cpowf, cpowf)
     32/* w e a k _ a l i a s  (__cpowf, cpowf) */
    3233#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cpowl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    2425
    2526__complex__ long double
    26 __cpowl (__complex__ long double x, __complex__ long double c)
     27_STD(cpowl) (__complex__ long double x, __complex__ long double c)
    2728{
    2829  return __cexpl (c * __clogl (x));
    2930}
    30 weak_alias (__cpowl, cpowl)
     31/* w e a k _ a l i a s  (__cpowl, cpowl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cproj.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
    2324
     25#define nan(x) __builtin_nan(x)
     26
     27
    2428
    2529__complex__ double
    26 __cproj (__complex__ double x)
     30_STD(cproj) (__complex__ double x)
    2731{
    2832  __complex__ double res;
     
    4549  return res;
    4650}
    47 weak_alias (__cproj, cproj)
     51/* w e a k _ a l i a s  (__cproj, cproj) */
    4852#ifdef NO_LONG_DOUBLE
    4953strong_alias (__cproj, __cprojl)
    50 weak_alias (__cproj, cprojl)
     54/* w e a k _ a l i a s  (__cproj, cprojl) */
    5155#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cprojf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    2425
    2526__complex__ float
    26 __cprojf (__complex__ float x)
     27_STD(cprojf) (__complex__ float x)
    2728{
    2829  __complex__ float res;
     
    4647}
    4748#ifndef __cprojf
    48 weak_alias (__cprojf, cprojf)
     49/* w e a k _ a l i a s  (__cprojf, cprojf) */
    4950#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_cprojl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <math.h>
     
    2425
    2526__complex__ long double
    26 __cprojl (__complex__ long double x)
     27_STD(cprojl) (__complex__ long double x)
    2728{
    2829  __complex__ long double res;
     
    4647  return res;
    4748}
    48 weak_alias (__cprojl, cprojl)
     49/* w e a k _ a l i a s  (__cprojl, cprojl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_csin.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
    2324#include <math.h>
     25
     26#define __nan(x) __builtin_nan(x)
     27
    2428
    2529#include "math_private.h"
     
    2731
    2832__complex__ double
    29 __csin (__complex__ double x)
     33_STD(csin) (__complex__ double x)
    3034{
    3135  __complex__ double retval;
     
    125129  return retval;
    126130}
    127 weak_alias (__csin, csin)
     131/* w e a k _ a l i a s  (__csin, csin) */
    128132#ifdef NO_LONG_DOUBLE
    129133strong_alias (__csin, __csinl)
    130 weak_alias (__csin, csinl)
     134/* w e a k _ a l i a s  (__csin, csinl) */
    131135#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_csinf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2728
    2829__complex__ float
    29 __csinf (__complex__ float x)
     30_STD(csinf) (__complex__ float x)
    3031{
    3132  __complex__ float retval;
     
    126127}
    127128#ifndef __csinf
    128 weak_alias (__csinf, csinf)
     129/* w e a k _ a l i a s  (__csinf, csinf) */
    129130#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_csinh.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
    2324#include <math.h>
     25
     26#define __nan(x) __builtin_nan(x)
     27
    2428
    2529#include "math_private.h"
     
    2731
    2832__complex__ double
    29 __csinh (__complex__ double x)
     33_STD(csinh) (__complex__ double x)
    3034{
    3135  __complex__ double retval;
     
    120124  return retval;
    121125}
    122 weak_alias (__csinh, csinh)
     126/* w e a k _ a l i a s  (__csinh, csinh) */
    123127#ifdef NO_LONG_DOUBLE
    124128strong_alias (__csinh, __csinhl)
    125 weak_alias (__csinh, csinhl)
     129/* w e a k _ a l i a s  (__csinh, csinhl) */
    126130#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_csinhf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2728
    2829__complex__ float
    29 __csinhf (__complex__ float x)
     30_STD(csinhf) (__complex__ float x)
    3031{
    3132  __complex__ float retval;
     
    121122}
    122123#ifndef __csinhf
    123 weak_alias (__csinhf, csinhf)
     124/* w e a k _ a l i a s  (__csinhf, csinhf) */
    124125#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_csinhl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2728
    2829__complex__ long double
    29 __csinhl (__complex__ long double x)
     30_STD(csinhl) (__complex__ long double x)
    3031{
    3132  __complex__ long double retval;
     
    120121  return retval;
    121122}
    122 weak_alias (__csinhl, csinhl)
     123/* w e a k _ a l i a s  (__csinhl, csinhl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_csinl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2728
    2829__complex__ long double
    29 __csinl (__complex__ long double x)
     30_STD(csinl) (__complex__ long double x)
    3031{
    3132  __complex__ long double retval;
     
    125126  return retval;
    126127}
    127 weak_alias (__csinl, csinl)
     128/* w e a k _ a l i a s  (__csinl, csinl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_csqrt.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    2020   02111-1307 USA.  */
    2121
     22#include "libc-alias-glibc.h"
    2223#include <complex.h>
    2324#include <math.h>
     25
     26#define __nan(x) __builtin_nan(x)
     27
    2428
    2529#include "math_private.h"
     
    2731
    2832__complex__ double
    29 __csqrt (__complex__ double x)
     33_STD(csqrt) (__complex__ double x)
    3034{
    3135  __complex__ double res;
     
    108112  return res;
    109113}
    110 weak_alias (__csqrt, csqrt)
     114/* w e a k _ a l i a s  (__csqrt, csqrt) */
    111115#ifdef NO_LONG_DOUBLE
    112116strong_alias (__csqrt, __csqrtl)
    113 weak_alias (__csqrt, csqrtl)
     117/* w e a k _ a l i a s  (__csqrt, csqrtl) */
    114118#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_csqrtf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1818   License along with the GNU C Library; if not, write to the Free
    1919   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    20    02111-1307 USA.  */
     20   02111-1307 USA.   */
    2121
     22#include "libc-alias-glibc.h"
    2223#include <complex.h>
    2324#include <math.h>
     
    2728
    2829__complex__ float
    29 __csqrtf (__complex__ float x)
     30_STD(csqrtf) (__complex__ float x)
    3031{
    3132  __complex__ float res;
     
    109110}
    110111#ifndef __csqrtf
    111 weak_alias (__csqrtf, csqrtf)
     112/* w e a k _ a l i a s  (__csqrtf, csqrtf) */
    112113#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_csqrtl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1818   License along with the GNU C Library; if not, write to the Free
    1919   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    20    02111-1307 USA.  */
     20   02111-1307 USA.   */
    2121
     22#include "libc-alias-glibc.h"
    2223#include <complex.h>
    2324#include <math.h>
     
    2728
    2829__complex__ long double
    29 __csqrtl (__complex__ long double x)
     30_STD(csqrtl) (__complex__ long double x)
    3031{
    3132  __complex__ long double res;
     
    108109  return res;
    109110}
    110 weak_alias (__csqrtl, csqrtl)
     111/* w e a k _ a l i a s  (__csqrtl, csqrtl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_ctan.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2425
    2526#include "math_private.h"
    26 
     27#define __nan __builtin_nan
    2728
    2829__complex__ double
    29 __ctan (__complex__ double x)
     30_STD(ctan) (__complex__ double x)
    3031{
    3132  __complex__ double res;
     
    6869  return res;
    6970}
    70 weak_alias (__ctan, ctan)
     71/* w e a k _ a l i a s  (__ctan, ctan) */
    7172#ifdef NO_LONG_DOUBLE
    7273strong_alias (__ctan, __ctanl)
    73 weak_alias (__ctan, ctanl)
     74/* w e a k _ a l i a s  (__ctan, ctanl) */
    7475#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_ctanf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2728
    2829__complex__ float
    29 __ctanf (__complex__ float x)
     30_STD(ctanf) (__complex__ float x)
    3031{
    3132  __complex__ float res;
     
    6970}
    7071#ifndef __ctanf
    71 weak_alias (__ctanf, ctanf)
     72/* w e a k _ a l i a s  (__ctanf, ctanf) */
    7273#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_ctanh.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2425
    2526#include "math_private.h"
     27#define __nan __builtin_nan
    2628
    2729
    2830__complex__ double
    29 __ctanh (__complex__ double x)
     31_STD(ctanh) (__complex__ double x)
    3032{
    3133  __complex__ double res;
     
    6870  return res;
    6971}
    70 weak_alias (__ctanh, ctanh)
     72/* w e a k _ a l i a s  (__ctanh, ctanh) */
    7173#ifdef NO_LONG_DOUBLE
    7274strong_alias (__ctanh, __ctanhl)
    73 weak_alias (__ctanh, ctanhl)
     75/* w e a k _ a l i a s  (__ctanh, ctanhl) */
    7476#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_ctanhf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2728
    2829__complex__ float
    29 __ctanhf (__complex__ float x)
     30_STD(ctanhf) (__complex__ float x)
    3031{
    3132  __complex__ float res;
     
    6970}
    7071#ifndef __ctanhf
    71 weak_alias (__ctanhf, ctanhf)
     72/* w e a k _ a l i a s  (__ctanhf, ctanhf) */
    7273#endif
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_ctanhl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2728
    2829__complex__ long double
    29 __ctanhl (__complex__ long double x)
     30_STD(ctanhl) (__complex__ long double x)
    3031{
    3132  __complex__ long double res;
     
    6869  return res;
    6970}
    70 weak_alias (__ctanhl, ctanhl)
     71/* w e a k _ a l i a s  (__ctanhl, ctanhl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_ctanl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1717   License along with the GNU C Library; if not, write to the Free
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     19   02111-1307 USA.   */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <complex.h>
    2223#include <fenv.h>
     
    2728
    2829__complex__ long double
    29 __ctanl (__complex__ long double x)
     30_STD(ctanl) (__complex__ long double x)
    3031{
    3132  __complex__ long double res;
     
    6869  return res;
    6970}
    70 weak_alias (__ctanl, ctanl)
     71/* w e a k _ a l i a s  (__ctanl, ctanl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/s_erfl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
     1#include "libc-alias-glibc.h"
    12#include <math.h>
    23#include <stdio.h>
     
    45
    56long double
    6 __erfl (long double x)
     7_STD(erfl) (long double x)
    78{
    89  fputs ("__erfl not implemented\n", stderr);
    9   __set_errno (ENOSYS);
     10  errno = ENOSYS;
    1011  return 0.0;
    1112}
    12 weak_alias (__erfl, erfl)
     13/* w e a k _ a l i a s (__erfl, erfl) */
    1314
    14 stub_warning (erfl)
     15//stub_warning (erfl)
    1516
    1617long double
    17 __erfcl (long double x)
     18_STD(erfcl) (long double x)
    1819{
    1920  fputs ("__erfcl not implemented\n", stderr);
    20   __set_errno (ENOSYS);
     21  errno = ENOSYS;
    2122  return 0.0;
    2223}
    23 weak_alias (__erfcl, erfcl)
     24/* w e a k _ a l i a s (__erfcl, erfcl) */
    2425
    25 stub_warning (erfcl)
    26 #include <stub-tag.h>
     26//stub_warning (erfcl)
     27//#include <stub-tag.h>
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/w_lgammal.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1515 */
    1616
     17#include "libc-alias-glibc.h"
    1718#if defined(LIBM_SCCS) && !defined(lint)
    1819static char rcsid[] = "$NetBSD: $";
     
    3536#endif
    3637{
    37 #ifdef _IEEE_LIBM
     38#if defined _IEEE_LIBM || defined __INNOTEK_LIBC__
    3839        return __ieee754_lgammal_r(x,&signgam);
    3940#else
     
    5455#endif
    5556}
    56 weak_alias (__lgammal, lgammal)
    57 strong_alias (__lgammal, __gammal)
    58 weak_alias (__gammal, gammal)
     57/* w e a k _alias (__lgammal, lgammal) */
     58strong_alias (_std_lgammal, _std_gammal)
     59/* w e a k _alias (__gammal, gammal) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/w_tgammaf.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1818#endif
    1919
     20#include "libc-alias-glibc.h"
     21#include <math.h>
    2022#include "math.h"
    2123#include "math_private.h"
    2224
    2325#ifdef __STDC__
    24         float __tgammaf(float x)
     26        float _STD(tgammaf)(float x)
    2527#else
    26         float __tgammaf(x)
     28        float _STD(tgammaf)(x)
    2729        float x;
    2830#endif
     
    3234        y = __ieee754_gammaf_r(x,&local_signgam);
    3335        if (local_signgam < 0) y = -y;
    34 #ifdef _IEEE_LIBM
     36#if defined _IEEE_LIBM || defined __INNOTEK_LIBC__
    3537        return y;
    3638#else
  • trunk/src/emx/src/lib/lgpl/sysdeps/generic/w_tgammal.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    2323 */
    2424
     25#include "libc-alias-glibc.h"
     26#define __ieee754_gammal_r gammal_r
    2527#include "math.h"
    2628#include "math_private.h"
    2729
    2830#ifdef __STDC__
    29         long double __tgammal(long double x)
     31        long double _STD(tgammal)(long double x)
    3032#else
    31         long double __tgammal(x)
     33        long double _STD(tgammal)(x)
    3234        long double x;
    3335#endif
     
    3739        y = __ieee754_gammal_r(x,&local_signgam);
    3840        if (local_signgam < 0) y = -y;
    39 #ifdef _IEEE_LIBM
     41#if defined _IEEE_LIBM || defined __INNOTEK_LIBC__
    4042        return y;
    4143#else
     
    5355#endif
    5456}
    55 weak_alias (__tgammal, tgammal)
     57/*  w e a k _ a l i a s (__tgammal, tgammal) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_atan2l.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    66 */
    77
     8#include "libc-alias-glibc.h"
     9#include <math.h>
    810#include <math_private.h>
    911
    1012long double
    11 __ieee754_atan2l (long double y, long double x)
     13_STD(atan2l) (long double y, long double x)
    1214{
    1315  long double res;
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_atanhl.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
    21 #include <machine/asm.h>
     21//#include <machine/asm.h>
     22#include <sysdep.h>
     23#include <asm-syntax.h>
    2224
    2325#ifdef __ELF__
     
    5557
    5658        .text
    57 ENTRY(__ieee754_atanhl)
     59ENTRY(_STD(atanhl))
    5860        movl    12(%esp), %ecx
    5961
     
    1181206:      fldt    4(%esp)
    119121        ret
    120 END(__ieee754_atanhl)
     122END(_STD(atanhl))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_exp10.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    33 */
    44
    5 #include <machine/asm.h>
     5//#include <machine/asm.h>
     6#include <sysdep.h>
     7#include <asm-syntax.h>
    68
    79/* 10^x = 2^(x * log2(10)) */
    8 ENTRY(__ieee754_exp10)
     10ENTRY(_STD(exp10))
    911        fldl    4(%esp)
    1012/* I added the following ugly construct because exp(+-Inf) resulted
     
    3638        fldz                            /* Set result to 0.  */
    37392:      ret
    38 END (__ieee754_exp10)
     40END (_STD(exp10))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_exp10f.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    33 */
    44
    5 #include <machine/asm.h>
     5//#include <machine/asm.h>
     6#include <sysdep.h>
     7#include <asm-syntax.h>
     8
    69
    710/* e^x = 2^(x * log2(10)) */
    8 ENTRY(__ieee754_exp10f)
     11ENTRY(_STD(exp10f))
    912        flds    4(%esp)
    1013/* I added the following ugly construct because exp(+-Inf) resulted
     
    3639        fldz                            /* Set result to 0.  */
    37402:      ret
    38 END (__ieee754_exp10f)
     41END (_STD(exp10f))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_exp10l.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    33 */
    44
    5 #include <machine/asm.h>
     5//#include <machine/asm.h>
     6#include <sysdep.h>
     7#include <asm-syntax.h>
    68
    79/* e^x = 2^(x * log2l(10)) */
    8 ENTRY(__ieee754_exp10l)
     10ENTRY(_STD(exp10l))
    911        fldt    4(%esp)
    1012/* I added the following ugly construct because expl(+-Inf) resulted
     
    3638        fldz                            /* Set result to 0.  */
    37392:      ret
    38 END (__ieee754_exp10l)
     40END (_STD(exp10l))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_exp2l.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    55 */
    66
    7 #include <machine/asm.h>
     7//#include <machine/asm.h>
     8#include <sysdep.h>
     9#include <asm-syntax.h>
    810
    9 ENTRY(__ieee754_exp2l)
     11ENTRY(_STD(exp2l))
    1012        fldt    4(%esp)
    1113/* I added the following ugly construct because exp(+-Inf) resulted
     
    3537        fldz                            /* Set result to 0.  */
    36382:      ret
    37 END (__ieee754_exp2l)
     39END (_STD(exp2l))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_fmodl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    66 */
    77
     8#include "libc-alias-glibc.h"
     9#include <math.h>
    810#include <math_private.h>
    911
    1012long double
    11 __ieee754_fmodl (long double x, long double y)
     13_STD(fmodl) (long double x, long double y)
    1214{
    1315  long double res;
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_log10l.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    88 */
    99
    10 #include <machine/asm.h>
     10//#include <machine/asm.h>
     11#include <sysdep.h>
     12#include <asm-syntax.h>
    1113
    12 RCSID("$NetBSD: $")
     14//RCSID("$NetBSD: $")
    1315
    1416#ifdef __ELF__
     
    3638
    3739        .text
    38 ENTRY(__ieee754_log10l)
     40ENTRY(_STD(log10l))
    3941        fldlg2                  // log10(2)
    4042        fldt    4(%esp)         // x : log10(2)
     
    6668        fstp    %st(1)
    6769        ret
    68 END(__ieee754_log10l)
     70END(_STD(log10l))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_log2.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    77 */
    88
    9 #include <machine/asm.h>
     9//#include <machine/asm.h>
     10#include <sysdep.h>
     11#include <asm-syntax.h>
    1012
    1113#ifdef __ELF__
     
    3335
    3436        .text
    35 ENTRY(__ieee754_log2)
     37ENTRY(_STD(log2))
    3638#ifdef PIC
    3739        LOAD_PIC_REG (dx)
     
    6365        fstp    %st(1)
    6466        ret
    65 END (__ieee754_log2)
     67END (_STD(log2))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_log2f.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    77 */
    88
    9 #include <machine/asm.h>
     9//#include <machine/asm.h>
     10#include <sysdep.h>
     11#include <asm-syntax.h>
    1012
    1113#ifdef __ELF__
     
    3335
    3436        .text
    35 ENTRY(__ieee754_log2f)
     37ENTRY(_STD(log2f))
    3638#ifdef PIC
    3739        LOAD_PIC_REG (dx)
     
    6365        fstp    %st(1)
    6466        ret
    65 END (__ieee754_log2f)
     67END (_STD(log2f))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_log2l.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    77 */
    88
    9 #include <machine/asm.h>
     9//#include <machine/asm.h>
     10#include <sysdep.h>
     11#include <asm-syntax.h>
    1012
    1113#ifdef __ELF__
     
    3335
    3436        .text
    35 ENTRY(__ieee754_log2l)
     37ENTRY(_STD(log2l))
    3638#ifdef PIC
    3739        LOAD_PIC_REG (dx)
     
    6365        fstp    %st(1)
    6466        ret
    65 END (__ieee754_log2l)
     67END (_STD(log2l))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_logl.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    66 */
    77
    8 #include <machine/asm.h>
     8//#include <machine/asm.h>
     9#include <sysdep.h>
     10#include <asm-syntax.h>
    911
    10 RCSID("$NetBSD: $")
     12//RCSID("$NetBSD: $")
    1113
    1214
     
    3537
    3638        .text
    37 ENTRY(__ieee754_logl)
     39ENTRY(_STD(logl))
    3840        fldln2                  // log(2)
    3941        fldt    4(%esp)         // x : log(2)
     
    5658        fyl2x                   // log(x)
    5759        ret
    58 END (__ieee754_logl)
     60END (_STD(logl))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_powl.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    2020   02111-1307 USA.  */
    2121
    22 #include <machine/asm.h>
     22//#include <machine/asm.h>
     23#include <sysdep.h>
     24#include <asm-syntax.h>
    2325
    2426#ifdef __ELF__
     
    6365
    6466        .text
    65 ENTRY(__ieee754_powl)
     67ENTRY(_STD(powl))
    6668        fldt    16(%esp)        // y
    6769        fxam
     
    358360        ret
    359361
    360 END(__ieee754_powl)
     362END(_STD(powl))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_remainderl.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    66 */
    77
    8 #include <machine/asm.h>
     8//#include <machine/asm.h>
     9#include <sysdep.h>
     10#include <asm-syntax.h>
    911
    10 RCSID("$NetBSD: $")
     12//RCSID("$NetBSD: $")
    1113
    12 ENTRY(__ieee754_remainderl)
     14ENTRY(_STD(remainderl))
    1315        fldt    16(%esp)
    1416        fldt    4(%esp)
     
    1921        fstp    %st(1)
    2022        ret
    21 END (__ieee754_remainderl)
     23END (_STD(remainderl))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_scalbl.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    88 */
    99
    10 #include <machine/asm.h>
     10//#include <machine/asm.h>
     11#include <sysdep.h>
     12#include <asm-syntax.h>
    1113
    12 RCSID("$NetBSD: $")
     14//RCSID("$NetBSD: $")
    1315
    1416#ifdef __ELF__
     
    3840
    3941        .text
    40 ENTRY(__ieee754_scalbl)
     42ENTRY(_STD(scalbl))
    4143        fldt    16(%esp)
    4244        fxam
     
    102104        fdiv    %st
    103105        ret
    104 END(__ieee754_scalbl)
     106END(_STD(scalbl))
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/e_sqrtl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    66 */
    77
     8#include "libc-alias-glibc.h"
     9#include <math.h>
    810#include <math_private.h>
    911
    1012long double
    11 __ieee754_sqrtl (long double x)
     13_STD(sqrtl) (long double x)
    1214{
    1315  long double res;
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_asinhl.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
    21 #include <machine/asm.h>
     21//#include <machine/asm.h>
     22#include <sysdep.h>
     23#include <asm-syntax.h>
    2224
    2325#ifdef __ELF__
     
    5254
    5355        .text
    54 ENTRY(__asinhl)
     56ENTRY(_STD(asinhl))
    5557        movl    12(%esp), %ecx
    5658        movl    $0x7fff, %eax
     
    140142        fchs
    1411434:      ret
    142 END(__asinhl)
    143 weak_alias (__asinhl, asinhl)
     144END(_STD(asinhl))
     145/* w e a k _ a l i a s  (__asinhl, asinhl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_atanl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    66 */
    77
     8#include "libc-alias-glibc.h"
     9#include <math.h>
    810#include <math_private.h>
    911
    1012long double
    11 __atanl (long double x)
     13_STD(atanl) (long double x)
    1214{
    1315  long double res;
     
    2022}
    2123
    22 weak_alias (__atanl, atanl)
     24/*  w e a k _ a l i a s (__atanl, atanl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_cexp.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    6666
    6767        .text
    68 ENTRY(__cexp)
     68ENTRY(_STD(cexp))
    6969        fldl    8(%esp)                 /* x */
    7070        fxam
     
    254254        ret     $4
    255255
    256 END(__cexp)
    257 weak_alias (__cexp, cexp)
     256END(_STD(cexp))
     257/* w e a k _ a l i a s (__cexp, cexp) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_expm1l.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    2323        /* Using: e^x - 1 = 2^(x * log2(e)) - 1 */
    2424
    25 #include <machine/asm.h>
     25//#include <machine/asm.h>
     26#include <sysdep.h>
     27#include <asm-syntax.h>
    2628
    2729#ifdef __ELF__
     
    4850
    4951        .text
    50 ENTRY(__expm1l)
     52ENTRY(_STD(expm1l))
    5153        fldt    4(%esp)         // x
    5254        fxam                    // Is NaN or +-Inf?
     
    8385        fldl    MO(minus1)      // Set result to -1.0.
    84863:      ret
    85 END(__expm1l)
    86 libm_hidden_def (__expm1l)
    87 weak_alias (__expm1l, expm1l)
     87END(_STD(expm1l))
     88/*libm_hidden_def(__expm1l) */
     89/* w  e a k _ a l i a s  (__expm1l, expm1l) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_llrintl.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    2323
    2424        .text
    25 ENTRY(__llrintl)
     25ENTRY(_STD(llrintl))
    2626        fldt    4(%esp)
    2727        subl    $8, %esp
     
    3434        cfi_adjust_cfa_offset (-4)
    3535        ret
    36 END(__llrintl)
    37 weak_alias (__llrintl, llrintl)
     36END(_STD(llrintl))
     37/* w e a k _ a l i a s  (__llrintl, llrintl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_log1pl.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    66 */
    77
    8 #include <machine/asm.h>
     8//#include <machine/asm.h>
     9#include <sysdep.h>
     10#include <asm-syntax.h>
    911
    10 RCSID("$NetBSD: s_log1p.S,v 1.7 1995/05/09 00:10:58 jtc Exp $")
     12//RCSID("$NetBSD: s_log1p.S,v 1.7 1995/05/09 00:10:58 jtc Exp $")
    1113
    1214#ifdef __ELF__
     
    3133 */
    3234        .text
    33 ENTRY(__log1pl)
     35ENTRY(_STD(log1pl))
    3436        fldln2
    3537
     
    7375        ret
    7476
    75 END (__log1pl)
    76 weak_alias (__log1pl, log1pl)
     77END (_STD(log1pl))
     78/* w e a k _ a l i a s (__log1pl, log1pl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_logbl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    55 */
    66
     7#include "libc-alias-glibc.h"
     8#include <math.h>
    79#include <math_private.h>
    810
    911long double
    10 __logbl (long double x)
     12_STD(logbl) (long double x)
    1113{
    1214  long double res;
     
    1719}
    1820
    19 weak_alias (__logbl, logbl)
     21/*  w e a k _ a l i a s (__logbl, logbl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_lrintl.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    2323
    2424        .text
    25 ENTRY(__lrintl)
     25ENTRY(_STD(lrintl))
    2626        fldt    4(%esp)
    2727        subl    $4, %esp
     
    3232        cfi_adjust_cfa_offset (-4)
    3333        ret
    34 END(__lrintl)
    35 weak_alias (__lrintl, lrintl)
     34END(_STD(lrintl))
     35/* w e a k _ a l i a s  (__lrintl, lrintl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_nearbyintl.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    55/* Adapted for use as nearbyint by Ulrich Drepper <drepper@cygnus.com>.  */
    66
    7 #include <machine/asm.h>
     7//#include <machine/asm.h>
     8#include <sysdep.h>
     9#include <asm-syntax.h>
    810
    9 ENTRY(__nearbyintl)
     11ENTRY(_STD(nearbyintl))
    1012        fldt    4(%esp)
    1113        pushl   %eax
     
    2628        cfi_adjust_cfa_offset (-4)
    2729        ret
    28 END (__nearbyintl)
    29 weak_alias (__nearbyintl, nearbyintl)
     30END (_STD(nearbyintl))
     31/*  w e a k _ a l i a s (__nearbyintl, nearbyintl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_remquol.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    55 */
    66
    7 #include <machine/asm.h>
     7//#include <machine/asm.h>
     8#include <sysdep.h>
     9#include <asm-syntax.h>
    810#include "bp-sym.h"
    911#include "bp-asm.h"
     
    1517
    1618        .text
    17 ENTRY (BP_SYM (__remquol))
     19ENTRY (BP_SYM (_STD(remquol)))
    1820        ENTER
    1921
     
    4749        LEAVE
    4850        ret
    49 END (BP_SYM (__remquol))
    50 weak_alias (BP_SYM (__remquol), BP_SYM (remquol))
     51END (BP_SYM (_STD(remquol)))
     52/*  w e a k _ a l i a s (BP_SYM (__remquol), BP_SYM (remquol)) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_rintl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    55 */
    66
     7#include "libc-alias-glibc.h"
     8#include <math.h>
    79#include <math_private.h>
    810
    911long double
    10 __rintl (long double x)
     12_STD(rintl) (long double x)
    1113{
    1214  long double res;
     
    1618}
    1719
    18 weak_alias (__rintl, rintl)
     20/*  w e a k _ a l i a s (__rintl, rintl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_significandl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    55 */
    66
     7#include "libc-alias-glibc.h"
     8#include <math.h>
    79#include <math_private.h>
    810
    911long double
    10 __significandl (long double x)
     12_STD(significandl) (long double x)
    1113{
    1214  long double res;
     
    1719}
    1820
    19 weak_alias (__significandl, significandl)
     21/*  w e a k _alias (__significandl, significandl) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_sincos.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
    21 #include <machine/asm.h>
     21//#include <machine/asm.h>
     22#include <sysdep.h>
     23#include <asm-syntax.h>
    2224#include "bp-sym.h"
    2325#include "bp-asm.h"
     
    2931
    3032        .text
    31 ENTRY (BP_SYM (__sincos))
     33ENTRY (BP_SYM (_STD(sincos)))
    3234        ENTER
    3335
     
    6264        LEAVE
    6365        ret
    64 END (BP_SYM (__sincos))
    65 weak_alias (BP_SYM (__sincos), BP_SYM (sincos))
     66END (BP_SYM (_STD(sincos)))
     67/*  w e a k _ a l i a s  (BP_SYM (__sincos), BP_SYM (sincos)) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_sincosf.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
    21 #include <machine/asm.h>
     21//#include <machine/asm.h>
     22#include <sysdep.h>
     23#include <asm-syntax.h>
    2224#include "bp-sym.h"
    2325#include "bp-asm.h"
     
    2931
    3032        .text
    31 ENTRY (BP_SYM (__sincosf))
     33ENTRY (BP_SYM (_STD(sincosf)))
    3234        ENTER
    3335
     
    6264        LEAVE
    6365        ret
    64 END (BP_SYM (__sincosf))
    65 weak_alias (BP_SYM (__sincosf), BP_SYM (sincosf))
     66END (BP_SYM (_STD(sincosf)))
     67/* w e a k _ a l i a s (BP_SYM (__sincosf), BP_SYM (sincosf)) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/fpu/s_sincosl.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
    21 #include <machine/asm.h>
     21//#include <machine/asm.h>
     22#include <sysdep.h>
     23#include <asm-syntax.h>
    2224#include "bp-sym.h"
    2325#include "bp-asm.h"
     
    2931
    3032        .text
    31 ENTRY (BP_SYM (__sincosl))
     33ENTRY (BP_SYM (_STD(sincosl)))
    3234        ENTER
    3335
     
    6264        LEAVE
    6365        ret
    64 END (BP_SYM (__sincosl))
    65 weak_alias (BP_SYM (__sincosl), BP_SYM (sincosl))
     66END (BP_SYM (_STD(sincosl)))
     67/* w e a k _ a l i a s  (BP_SYM (__sincosl), BP_SYM (sincosl)) */
  • trunk/src/emx/src/lib/lgpl/sysdeps/i386/sysdep.h

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r2149 r2150  
    2121
    2222#ifdef  __ASSEMBLER__
     23#undef _STD
     24#define _STD(x) _std_ ## x
    2325
    2426/* Syntactic details of assembler.  */
  • trunk/src/emx/src/lib/lgpl/sysdeps/ieee754/ldbl-96/e_acoshl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1515 */
    1616
     17#include "libc-alias-glibc.h"
    1718#if defined(LIBM_SCCS) && !defined(lint)
    1819static char rcsid[] = "$NetBSD: $";
  • trunk/src/emx/src/lib/lgpl/sysdeps/ieee754/ldbl-96/e_gammal_r.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1919   02111-1307 USA.  */
    2020
     21#include "libc-alias-glibc.h"
    2122#include <math.h>
    22 #include <math_private.h>
     23#include "math_private.h"
    2324
    2425
  • trunk/src/emx/src/lib/lgpl/sysdeps/ieee754/ldbl-96/e_j0l.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1212/* Long double expansions are
    1313  Copyright (C) 2001 Stephen L. Moshier <moshier@na-net.ornl.gov>
    14   and are incorporated herein by permission of the author.  The author 
     14  and are incorporated herein by permission of the author.  The author
    1515  reserves the right to distribute this material elsewhere under different
    16   copying permissions.  These modifications are distributed here under 
     16  copying permissions.  These modifications are distributed here under
    1717  the following terms:
    1818
     
    7272 */
    7373
     74#include "libc-alias-glibc.h"
    7475#include "math.h"
    7576#include "math_private.h"
  • trunk/src/emx/src/lib/lgpl/sysdeps/ieee754/ldbl-96/e_j1l.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1212/* Long double expansions are
    1313  Copyright (C) 2001 Stephen L. Moshier <moshier@na-net.ornl.gov>
    14   and are incorporated herein by permission of the author.  The author 
     14  and are incorporated herein by permission of the author.  The author
    1515  reserves the right to distribute this material elsewhere under different
    16   copying permissions.  These modifications are distributed here under 
     16  copying permissions.  These modifications are distributed here under
    1717  the following terms:
    1818
     
    7272 */
    7373
     74#include "libc-alias-glibc.h"
    7475#include "math.h"
    7576#include "math_private.h"
  • trunk/src/emx/src/lib/lgpl/sysdeps/ieee754/ldbl-96/e_jnl.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1212/* Modifications for long double are
    1313  Copyright (C) 2001 Stephen L. Moshier <moshier@na-net.ornl.gov>
    14   and are incorporated herein by permission of the author.  The author 
     14  and are incorporated herein by permission of the author.  The author
    1515  reserves the right to distribute this material elsewhere under different
    16   copying permissions.  These modifications are distributed here under 
     16  copying permissions.  These modifications are distributed here under
    1717  the following terms:
    1818
     
    5757 */
    5858
     59#include "libc-alias-glibc.h"
    5960#include "math.h"
    6061#include "math_private.h"
  • trunk/src/emx/src/lib/lgpl/sysdeps/ieee754/ldbl-96/e_lgammal_r.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    1212/* Long double expansions are
    1313  Copyright (C) 2001 Stephen L. Moshier <moshier@na-net.ornl.gov>
    14   and are incorporated herein by permission of the author.  The author 
     14  and are incorporated herein by permission of the author.  The author
    1515  reserves the right to distribute this material elsewhere under different
    16   copying permissions.  These modifications are distributed here under 
     16  copying permissions.  These modifications are distributed here under
    1717  the following terms:
    1818
     
    9292 */
    9393
     94#include "libc-alias-glibc.h"
    9495#include "math.h"
    9596#include "math_private.h"
  • trunk/src/emx/src/lib/lgpl/sysdeps/sysdeps.smak

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r2149 r2150  
    11libc.TSRC += $(wildcard src/lib/lgpl/sysdeps/os2/*.c) \
    2         $(wildcard src/lib/lgpl/sysdeps/i386/*.S)
     2        $(wildcard src/lib/lgpl/sysdeps/i386/*.S) \
     3        $(wildcard src/lib/lgpl/sysdeps/i386/fpu/*.S) \
     4        $(wildcard src/lib/lgpl/sysdeps/i386/fpu/*.c) \
     5        $(wildcard src/lib/lgpl/sysdeps/generic/*.c) \
     6        $(wildcard src/lib/lgpl/sysdeps/ieee754/ldbl-96/*.c)
  • trunk/src/emx/src/lib/libc.def

    • Property cvs2svn:cvs-rev changed from 1.125 to 1.126
    r2149 r2150  
    16651665    "___fpclassifyf" @1669
    16661666    "___fpclassifyl" @1670
    1667     "_drem" @1671
    1668     "_dremf" @1672
     1667    "__std_drem" @1671
     1668    "__std_dremf" @1672
    16691669    "___exp__D" @1673
    16701670    "___fe_dfl_env" @1674
    16711671    "___fedisableexcept" @1675
    16721672    "___feenableexcept" @1676
    1673     "_finite" @1677
    1674     "_finitef" @1678
    1675     "_gamma" @1679
    1676     "_gammaf" @1680
    1677     "_gammaf_r" @1681
    1678     "_gamma_r" @1682
     1673    "__std_finite" @1677
     1674    "__std_finitef" @1678
     1675    "__std_gamma" @1679
     1676    "__std_gammaf" @1680
     1677    "__std_gammaf_r" @1681
     1678    "__std_gamma_r" @1682
    16791679    "___has_sse" @1683
    16801680    "___ieee754_rem_pio2" @1684
    16811681    "___ieee754_rem_pio2f" @1685
    1682     "_j0" @1686
    1683     "_j0f" @1687
    1684     "_j1" @1688
    1685     "_j1f" @1689
    1686     "_jn" @1690
    1687     "_jnf" @1691
     1682    "__std_j0" @1686
     1683    "__std_j0f" @1687
     1684    "__std_j1" @1688
     1685    "__std_j1f" @1689
     1686    "__std_jn" @1690
     1687    "__std_jnf" @1691
    16881688    "___kernel_cos" @1692
    16891689    "___kernel_cosf" @1693
     
    16941694    "___kernel_tan" @1698
    16951695    "___kernel_tanf" @1699
    1696     "_lgammaf_r" @1700
    1697     "_lgamma_r" @1701
     1696    "__std_lgammaf_r" @1700
     1697    "__std_lgamma_r" @1701
    16981698    "___log__D" @1702
    1699     "_scalb" @1703
    1700     "_significand" @1704
    1701     "_significandf" @1705
     1699    "__std_scalb" @1703
     1700    "__std_significand" @1704
     1701    "__std_significandf" @1705
    17021702    "__std_powl" @1706
    17031703    "___test_sse" @1707
    1704     "_y0" @1708
    1705     "_y0f" @1709
    1706     "_y1" @1710
    1707     "_y1f" @1711
    1708     "_yn" @1712
    1709     "_ynf" @1713
     1704    "__std_y0" @1708
     1705    "__std_y0f" @1709
     1706    "__std_y1" @1710
     1707    "__std_y1f" @1711
     1708    "__std_yn" @1712
     1709    "__std_ynf" @1713
    17101710    "_z_abs" @1714
    17111711    "___flt_rounds" @1715
     
    17831783    "___option_is_end" @1784
    17841784    "___option_is_short" @1785
     1785    ; getting more math stuff from glibc...
     1786    "__std_cacos" @1786
     1787    "__std_cacosf" @1787
     1788    "__std_cacosh" @1788
     1789    "__std_cacoshf" @1789
     1790    "__std_cacoshl" @1790
     1791    "__std_cacosl" @1791
     1792    "__std_cargf" @1792
     1793    "__std_casin" @1793
     1794    "__std_casinf" @1794
     1795    "__std_casinh" @1795
     1796    "__std_casinhf" @1796
     1797    "__std_casinhl" @1797
     1798    "__std_casinl" @1798
     1799    "__std_catan" @1799
     1800    "__std_catanf" @1800
     1801    "__std_catanh" @1801
     1802    "__std_catanhf" @1802
     1803    "__std_catanhl" @1803
     1804    "__std_catanl" @1804
     1805    "__std_ccos" @1805
     1806    "__std_ccosf" @1806
     1807    "__std_ccosh" @1807
     1808    "__std_ccoshf" @1808
     1809    "__std_ccoshl" @1809
     1810    "__std_ccosl" @1810
     1811    "__std_cexp" @1811
     1812    "__std_cexpf" @1812
     1813    "__std_cexpl" @1813
     1814    "__std_clog" @1814
     1815    "__std_clog10" @1815
     1816    "__std_clog10f" @1816
     1817    "__std_clog10l" @1817
     1818    "__std_clogf" @1818
     1819    "__std_clogl" @1819
     1820    "__std_cpow" @1820
     1821    "__std_cpowf" @1821
     1822    "__std_cpowl" @1822
     1823    "__std_cproj" @1823
     1824    "__std_cprojf" @1824
     1825    "__std_cprojl" @1825
     1826    "__std_csin" @1826
     1827    "__std_csinf" @1827
     1828    "__std_csinh" @1828
     1829    "__std_csinhf" @1829
     1830    "__std_csinhl" @1830
     1831    "__std_csinl" @1831
     1832    "__std_csqrt" @1832
     1833    "__std_csqrtf" @1833
     1834    "__std_csqrtl" @1834
     1835    "__std_ctan" @1835
     1836    "__std_ctanf" @1836
     1837    "__std_ctanh" @1837
     1838    "__std_ctanhf" @1838
     1839    "__std_ctanhl" @1839
     1840    "__std_ctanl" @1840
     1841    "__std_exp10" @1841
     1842    "__std_log2" @1842
     1843    "__std_log2f" @1843
     1844    "__std_log2l" @1844
     1845    "__std_sincos" @1845
     1846    "__std_sincosf" @1846
     1847    "__std_sincosl" @1847
     1848    "__std_asinhl" @1848
     1849    "__std_atanhl" @1849
     1850    "__std_llrintl" @1850
     1851    "__std_lrintl" @1851
     1852    "__std_erfcl" @1852
     1853    "__std_erfl" @1853
     1854    "__std_exp2l" @1854
     1855    "__std_expm1l" @1855
     1856    "__std_log1pl" @1856
     1857    "__std_logbl" @1857
     1858    "__std_nearbyintl" @1858
     1859    "__std_remainderl" @1859
     1860    "__std_remquol" @1860
     1861    "__std_cabsl" @1861
     1862    "__std_carg" @1862
     1863    "__std_cargl" @1863
     1864    "__std_gammal_r" @1864
     1865    "__std_exp10f" @1865
     1866    "__std_tgammaf" @1866
     1867    "__std_tgammal" @1867
     1868    "___fpu_control" @1868
     1869    "__std_acoshl" @1869
     1870    "__std_exp10l" @1870
     1871    "__std_j0l" @1872
     1872    "__std_j1l" @1873
     1873    "__std_jnl" @1874
     1874    "__std_lgammal_r" @1875
     1875    "__std_nexttowardl" @1876
     1876    "__std_scalbl" @1877
     1877    "__std_significandl" @1878
     1878    "__std_y0l" @1879
     1879    "__std_y1l" @1880
     1880    "__std_ynl" @1881
     1881    "__std_gammal" @1882
     1882    "__std_lgammal" @1883
  • trunk/src/emx/src/lib/libc.smak

    • Property cvs2svn:cvs-rev changed from 1.73 to 1.74
    r2149 r2150  
    418418# files for _STD() macros invocations. Fortunately, gawk rulez forever thus
    419419# this happens in just a fraction of second.
    420 $.stmp-libc-std: $(wildcard src/lib/*/*.c src/lib/*/386/*.s src/lib/msun/*/*.c src/lib/msun/*/*.S \
    421                             src/lib/bsd/*/*.c src/lib/bsd/*/glue/*.c src/lib/lgpl/*/*.c \
    422                                                         src/lib/lgpl/sysdeps/i386/*.S src/lib/lgpl/sysdeps/i386/*.c src/lib/lgpl/sysdeps/i386/i486/*.S)
    423         gawk -f src/lib/mkstd.awk $^ >__tmp__
     420_STD_WILDWILD = \
     421        src/lib/*/*.c \
     422        src/lib/*/386/*.s \
     423        src/lib/msun/*/*.c \
     424        src/lib/msun/*/*.S \
     425        src/lib/bsd/*/*.c \
     426        src/lib/bsd/*/glue/*.c \
     427        src/lib/lgpl/*/*.c \
     428        src/lib/lgpl/sysdeps/i386/*.S \
     429        src/lib/lgpl/sysdeps/i386/*.c \
     430        src/lib/lgpl/sysdeps/i386/i486/*.S \
     431        src/lib/lgpl/sysdeps/i386/fpu/*.S \
     432        src/lib/lgpl/sysdeps/i386/fpu/*.c \
     433        src/lib/lgpl/sysdeps/generic/*.c \
     434        src/lib/lgpl/sysdeps/ieee754/ldbl-96/*.c
     435$.stmp-libc-std: $(wildcard $(_STD_WILDWILD))
     436        cd src/lib && gawk -f ./mkstd.awk $(patsubst src/lib/%,%,$^) > ../../__tmp__
    424437        $(call UPDATE,__tmp__,$.libc-std.h)
    425438        $(call TOUCH,$@)
  • trunk/src/emx/src/lib/libc06b5.def

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r2149 r2150  
    16661666    "___fpclassifyf" @1669
    16671667    "___fpclassifyl" @1670
    1668     "_drem" @1671
    1669     "_dremf" @1672
     1668    "__std_drem" @1671
     1669    "__std_dremf" @1672
    16701670    "___exp__D" @1673
    16711671    "___fe_dfl_env" @1674
    16721672    "___fedisableexcept" @1675
    16731673    "___feenableexcept" @1676
    1674     "_finite" @1677
    1675     "_finitef" @1678
    1676     "_gamma" @1679
    1677     "_gammaf" @1680
    1678     "_gammaf_r" @1681
    1679     "_gamma_r" @1682
     1674    "__std_finite" @1677
     1675    "__std_finitef" @1678
     1676    "__std_gamma" @1679
     1677    "__std_gammaf" @1680
     1678    "__std_gammaf_r" @1681
     1679    "__std_gamma_r" @1682
    16801680    "___has_sse" @1683
    16811681    "___ieee754_rem_pio2" @1684
    16821682    "___ieee754_rem_pio2f" @1685
    1683     "_j0" @1686
    1684     "_j0f" @1687
    1685     "_j1" @1688
    1686     "_j1f" @1689
    1687     "_jn" @1690
    1688     "_jnf" @1691
     1683    "__std_j0" @1686
     1684    "__std_j0f" @1687
     1685    "__std_j1" @1688
     1686    "__std_j1f" @1689
     1687    "__std_jn" @1690
     1688    "__std_jnf" @1691
    16891689    "___kernel_cos" @1692
    16901690    "___kernel_cosf" @1693
     
    16951695    "___kernel_tan" @1698
    16961696    "___kernel_tanf" @1699
    1697     "_lgammaf_r" @1700
    1698     "_lgamma_r" @1701
     1697    "__std_lgammaf_r" @1700
     1698    "__std_lgamma_r" @1701
    16991699    "___log__D" @1702
    1700     "_scalb" @1703
    1701     "_significand" @1704
    1702     "_significandf" @1705
     1700    "__std_scalb" @1703
     1701    "__std_significand" @1704
     1702    "__std_significandf" @1705
    17031703    "__std_powl" @1706
    17041704    "___test_sse" @1707
    1705     "_y0" @1708
    1706     "_y0f" @1709
    1707     "_y1" @1710
    1708     "_y1f" @1711
    1709     "_yn" @1712
    1710     "_ynf" @1713
     1705    "__std_y0" @1708
     1706    "__std_y0f" @1709
     1707    "__std_y1" @1710
     1708    "__std_y1f" @1711
     1709    "__std_yn" @1712
     1710    "__std_ynf" @1713
    17111711    "_z_abs" @1714
    17121712    "___flt_rounds" @1715
  • trunk/src/emx/src/lib/msun/i387/e_scalb.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    3838RCSID("$FreeBSD: src/lib/msun/i387/e_scalb.S,v 1.8 2005/02/04 14:08:32 das Exp $")
    3939
    40 ENTRY(scalb)
     40STDENTRY(scalb)
    4141        fldl    12(%esp)
    4242        fldl    4(%esp)
  • trunk/src/emx/src/lib/msun/i387/s_finite.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    3838RCSID("$FreeBSD: src/lib/msun/i387/s_finite.S,v 1.7 1999/08/28 00:06:12 peter Exp $")
    3939
    40 ENTRY(finite)
     40STDENTRY(finite)
    4141        movl    8(%esp),%eax
    4242        andl    $0x7ff00000, %eax
  • trunk/src/emx/src/lib/msun/i387/s_significand.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    3838RCSID("$FreeBSD: src/lib/msun/i387/s_significand.S,v 1.7 2000/06/06 12:12:36 bde Exp $")
    3939
    40 ENTRY(significand)
     40STDENTRY(significand)
    4141        fldl    4(%esp)
    4242        fxtract
  • trunk/src/emx/src/lib/msun/i387/s_significandf.S

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    99/* RCSID("$NetBSD: s_significandf.S,v 1.3 1995/05/09 00:24:07 jtc Exp $") */
    1010
    11 ENTRY(significandf)
     11STDENTRY(significandf)
    1212        flds    4(%esp)
    1313        fxtract
  • trunk/src/emx/src/lib/msun/src/math_private.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    214214#define __ieee754_scalbf scalbf
    215215
     216/* bird added: */
     217#define __ieee754_log10l    log10l
     218#define __ieee754_logl      logl
     219#define __ieee754_expl      expl
     220#define __ieee754_sinhl     sinhl
     221#define __ieee754_coshl     coshl
     222#define __ieee754_sqrtl     sqrtl
     223#define __ieee754_atan2l    atan2l
     224#define __ieee754_hypotl    hypotl
     225#define __ieee754_gammal    gammal
     226long double __ieee754_gammal(long double);
     227#define __ieee754_gammal_r  gammal_r
     228long double __ieee754_gammal_r(long double,int *);
     229#define __ieee754_lgammal_r lgammal_r
     230long double __ieee754_lgammal_r(long double, int *);
     231#define __ieee754_jnl jnl
     232long double __ieee754_jnl(int,long double);
     233#define __ieee754_j0l j0l
     234long double __ieee754_j0l(long double);
     235#define __ieee754_j1l j1l
     236long double __ieee754_j1l(long double);
     237#define __ieee754_y0l y0l
     238long double __ieee754_y0l(long double);
     239#define __ieee754_y1l y1l
     240long double __ieee754_y1l(long double);
     241#define __ieee754_jnl jnl
     242long double __ieee754_jnl(int,long double);
     243#define __ieee754_ynl ynl
     244long double __ieee754_ynl(int,long double);
     245#define __ieee754_acoshl acoshl
     246long double __ieee754_acoshl(long double);
     247#define __ieee754_remainderl remainderl
     248long double __ieee754_remainderl(long double,long double);
     249
     250
    216251/* fdlibm kernel function */
    217252int     __ieee754_rem_pio2(double,double*);
  • trunk/src/emx/src/lib/msun/src/s_nextafterl.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r2149 r2150  
    3535
    3636long double
    37 nextafterl(long double x, long double y)
     37_STD(nextafterl)(long double x, long double y)
    3838{
    3939        volatile long double t;
     
    8181}
    8282
    83 __strong_reference(nextafterl, nexttowardl);
     83__strong_reference(_std_nextafterl, _std_nexttowardl);
  • trunk/src/emx/src/lib/msun/src/s_scalbnf.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r2149 r2150  
    3131
    3232float
    33 scalbnf (float x, int n)
     33_STD(scalbnf) (float x, int n)
    3434{
    3535        int32_t k,ix;
     
    5757}
    5858
    59 __strong_reference(scalbnf, ldexpf);
     59__strong_reference(_std_scalbnf, _std_ldexpf);
  • trunk/src/emx/src/lib/msun/src/s_scalbnl.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r2149 r2150  
    4444
    4545long double
    46 scalbnl (long double x, int n)
     46_STD(scalbnl) (long double x, int n)
    4747{
    4848        union IEEEl2bits u;
     
    7070}
    7171
    72 __strong_reference(scalbnl, ldexpl);
     72__strong_reference(_std_scalbnl, _std_ldexpl);
  • trunk/src/emx/src/lib/msun/std-complex.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2149 r2150  
    6161long double     _STD(creall)(long double complex);
    6262
     63/* bird: */
     64long double          _STD(cabsl)(long double complex);
     65double complex       _STD(cacos)(double complex);
     66float complex        _STD(cacosf)(float complex);
     67double complex       _STD(cacosh)(double complex);
     68float complex        _STD(cacoshf)(float complex);
     69long double complex  _STD(cacoshl)(long double complex);
     70long double complex  _STD(cacosl)(long double complex);
     71double               _STD(carg)(double complex);
     72float                _STD(cargf)(float complex);
     73long double          _STD(cargl)(long double complex);
     74double complex       _STD(casin)(double complex);
     75float complex        _STD(casinf)(float complex);
     76double complex       _STD(casinh)(double complex);
     77float complex        _STD(casinhf)(float complex);
     78long double complex  _STD(casinhl)(long double complex);
     79long double complex  _STD(casinl)(long double complex);
     80double complex       _STD(catan)(double complex);
     81float complex        _STD(catanf)(float complex);
     82double complex       _STD(catanh)(double complex);
     83float complex        _STD(catanhf)(float complex);
     84long double complex  _STD(catanhl)(long double complex);
     85long double complex  _STD(catanl)(long double complex);
     86double complex       _STD(ccos)(double complex);
     87float complex        _STD(ccosf)(float complex);
     88double complex       _STD(ccosh)(double complex);
     89float complex        _STD(ccoshf)(float complex);
     90long double complex  _STD(ccoshl)(long double complex);
     91long double complex  _STD(ccosl)(long double complex);
     92double complex       _STD(cexp)(double complex);
     93float complex        _STD(cexpf)(float complex);
     94long double complex  _STD(cexpl)(long double complex);
     95double complex       _STD(clog)(double complex);
     96float complex        _STD(clogf)(float complex);
     97long double complex  _STD(clogl)(long double complex);
     98double complex       _STD(cpow)(double complex, double complex);
     99float complex        _STD(cpowf)(float complex, float complex);
     100long double complex  _STD(cpowl)(long double complex, long double complex);
     101double complex       _STD(cproj)(double complex);
     102float complex        _STD(cprojf)(float complex);
     103long double complex  _STD(cprojl)(long double complex);
     104double complex       _STD(csin)(double complex);
     105float complex        _STD(csinf)(float complex);
     106double complex       _STD(csinh)(double complex);
     107float complex        _STD(csinhf)(float complex);
     108long double complex  _STD(csinhl)(long double complex);
     109long double complex  _STD(csinl)(long double complex);
     110double complex       _STD(csqrt)(double complex);
     111float complex        _STD(csqrtf)(float complex);
     112long double complex  _STD(csqrtl)(long double complex);
     113double complex       _STD(ctan)(double complex);
     114float complex        _STD(ctanf)(float complex);
     115double complex       _STD(ctanh)(double complex);
     116float complex        _STD(ctanhf)(float complex);
     117long double complex  _STD(ctanhl)(long double complex);
     118long double complex  _STD(ctanl)(long double complex);
     119
     120double complex       _STD(clog10)(double complex);
     121float complex        _STD(clog10f)(float complex);
     122long double complex  _STD(clog10l)(long double complex);
     123
    63124__END_DECLS
    64125
  • trunk/src/emx/src/lib/msun/std-math.c

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r2149 r2150  
    252252
    253253#if __BSD_VISIBLE || __XSI_VISIBLE
    254 double  j0(double);
    255 double  j1(double);
    256 double  jn(int, double);
    257 double  scalb(double, double);
    258 double  y0(double);
    259 double  y1(double);
    260 double  yn(int, double);
     254double  _STD(j0)(double);
     255double  _STD(j1)(double);
     256double  _STD(jn)(int, double);
     257double  _STD(scalb)(double, double);
     258double  _STD(y0)(double);
     259double  _STD(y1)(double);
     260double  _STD(yn)(int, double);
    261261
    262262#if __XSI_VISIBLE <= 500 || __BSD_VISIBLE
    263 double  gamma(double);
     263double  _STD(gamma)(double);
    264264#endif
    265265#endif /* __BSD_VISIBLE || __XSI_VISIBLE */
     
    282282 */
    283283#if __BSD_VISIBLE
    284 double  drem(double, double);
    285 int     finite(double) __pure2;
     284double _STD(drem)(double, double);
     285int     _STD(finite)(double) __pure2;
    286286int     _STD(isnanf)(float) __pure2;
    287287
     
    290290 * as the second argument; user must allocate space for signgam.
    291291 */
    292 double  gamma_r(double, int *);
    293 double  lgamma_r(double, int *);
     292double  _STD(gamma_r)(double, int *);
     293double  _STD(lgamma_r)(double, int *);
    294294
    295295/*
    296296 * IEEE Test Vector
    297297 */
    298 double  significand(double);
     298double  _STD(significand)(double);
    299299#endif /* __BSD_VISIBLE */
    300300
     
    367367 */
    368368#if __BSD_VISIBLE
    369 float   dremf(float, float);
    370 int     finitef(float) __pure2;
    371 float   gammaf(float);
    372 float   j0f(float);
    373 float   j1f(float);
    374 float   jnf(int, float);
    375 float   scalbf(float, float);
    376 float   y0f(float);
    377 float   y1f(float);
    378 float   ynf(int, float);
     369float   _STD(dremf)(float, float);
     370int     _STD(finitef)(float) __pure2;
     371float   _STD(gammaf)(float);
     372float   _STD(j0f)(float);
     373float   _STD(j1f)(float);
     374float   _STD(jnf)(int, float);
     375float   _STD(scalbf)(float, float);
     376float   _STD(y0f)(float);
     377float   _STD(y1f)(float);
     378float   _STD(ynf)(int, float);
    379379
    380380/*
     
    383383 * allocate space for signgam.
    384384 */
    385 float   gammaf_r(float, int *);
    386 float   lgammaf_r(float, int *);
     385float   _STD(gammaf_r)(float, int *);
     386float   _STD(lgammaf_r)(float, int *);
    387387
    388388/*
    389389 * float version of IEEE Test Vector
    390390 */
    391 float   significandf(float);
     391float   _STD(significandf)(float);
    392392#endif  /* __BSD_VISIBLE */
    393393
     
    448448#if 0
    449449long double     _STD(modfl)(long double, long double *); /* fundamentally !__pure2 */
    450 long double     _STD(nanl)(const char *) __pure2;
     450long double     nanl(const char *) __pure2; /* gcc intrinsic */
    451451long double     _STD(nearbyintl)(long double);
    452452#endif
     
    475475
    476476#endif /* __ISO_C_VISIBLE >= 1999 */
     477
     478#ifdef __USE_GNU
     479void _STD(sincos)(double, double *, double *);
     480void _STD(sincosf)(float, float *, float *);
     481void _STD(sincosl)(long double, long double *, long double *);
     482float _STD(exp10f)(float);
     483double _STD(exp10)(double);
     484long double _STD(exp10l)(long double);
     485float _STD(log2f)(float);
     486double _STD(log2)(double);
     487long double _STD(log2l)(long double);
     488float _STD(tgammaf)(float);
     489long double _STD(significandl)(long double);
     490long double _STD(j0l)(long double);
     491long double _STD(j1l)(long double);
     492long double _STD(jnl)(int, long double);
     493long double _STD(scalbl)(long double, long double);
     494long double _STD(y0l)(long double);
     495long double _STD(y1l)(long double);
     496long double _STD(ynl)(int, long double);
     497long double _STD(gammal)(long double);
     498long double _STD(gammal_r)(long double,int *);
     499long double _STD(lgammal_r)(long double,int *);
     500
     501#endif
    477502__END_DECLS
    478503
Note: See TracChangeset for help on using the changeset viewer.