cvs commit: src Makefile.inc1 src/gnu/usr.bin/groff/src/libs/libgroff Makefile src/include Makefile math.h src/lib Makefile src/lib/libc/gen Makefile.inc fpclassify.3 fpclassifyd.c fpclassifyf.c infinity.c infinityf.c infinityl_dbl.c isfinite.3 ...

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Tue Jul 26 14:16:21 PDT 2005


joerg       2005/07/26 14:15:20 PDT

DragonFly src repository

  Modified files:
    .                    Makefile.inc1 
    gnu/usr.bin/groff/src/libs/libgroff Makefile 
    include              Makefile 
    lib                  Makefile 
    lib/libc/gen         Makefile.inc isinf.3 
    lib/libc/i386/gen    Makefile.inc 
  Added files:
    include              math.h 
    lib/libc/gen         fpclassify.3 fpclassifyd.c fpclassifyf.c 
                         infinity.c infinityf.c infinityl_dbl.c 
                         isfinite.3 isfinited.c isfinitef.c 
                         isinfd.c isinff.c isnan.3 isnand.c 
                         isnanf.c signbit.3 signbitd.c signbitf.c 
    lib/libc/i386/gen    flt_rounds.S fpclassifyl.c fpgetmask.S 
                         fpgetround.S fpgetsticky.S fpsetmask.S 
                         fpsetround.S fpsetsticky.S infinityl.c 
                         isfinitel.c isinfl.c isnanl.c nanf.c 
                         signbitl.c 
    lib/libm             Makefile 
    lib/libm/arch/i386   Makefile.inc abi.h e_acos.S e_asin.S 
                         e_atan2.S e_atan2f.S e_exp.S e_expf.S 
                         e_fmod.S e_log.S e_log10.S e_log10f.S 
                         e_logf.S e_remainder.S e_remainderf.S 
                         e_scalb.S e_scalbf.S e_sqrt.S e_sqrtf.S 
                         lrint.S s_atan.S s_atanf.S s_ceil.S 
                         s_ceilf.S s_copysign.S s_copysignf.S 
                         s_cos.S s_cosf.S s_finite.S s_finitef.S 
                         s_floor.S s_floorf.S s_ilogb.S s_ilogbf.S 
                         s_log1p.S s_log1pf.S s_logb.S s_logbf.S 
                         s_rint.S s_rintf.S s_scalbn.S s_scalbnf.S 
                         s_significand.S s_significandf.S s_sin.S 
                         s_sinf.S s_tan.S s_tanf.S 
    lib/libm/man         Makefile.inc acos.3 acosh.3 asin.3 
                         asinh.3 atan.3 atan2.3 atanh.3 ceil.3 
                         cos.3 cosh.3 erf.3 exp.3 fabs.3 floor.3 
                         fmod.3 hypot.3 ieee.3 ieee_test.3 j0.3 
                         lgamma.3 math.3 rint.3 round.3 sin.3 
                         sinh.3 sqrt.3 tan.3 tanh.3 
    lib/libm/src         Makefile.inc e_acos.c e_acosf.c e_acosh.c 
                         e_acoshf.c e_asin.c e_asinf.c e_atan2.c 
                         e_atan2f.c e_atanh.c e_atanhf.c e_cosh.c 
                         e_coshf.c e_exp.c e_expf.c e_fmod.c 
                         e_fmodf.c e_hypot.c e_hypotf.c e_j0.c 
                         e_j0f.c e_j1.c e_j1f.c e_jn.c e_jnf.c 
                         e_lgamma_r.c e_lgammaf_r.c e_log.c 
                         e_log10.c e_log10f.c e_logf.c e_pow.c 
                         e_powf.c e_rem_pio2.c e_rem_pio2f.c 
                         e_remainder.c e_remainderf.c e_scalb.c 
                         e_scalbf.c e_sinh.c e_sinhf.c e_sqrt.c 
                         e_sqrtf.c k_cos.c k_cosf.c k_rem_pio2.c 
                         k_rem_pio2f.c k_sin.c k_sinf.c k_tan.c 
                         k_tanf.c llrint.c llrintf.c llround.c 
                         llroundf.c lrint.c lrintf.c lround.c 
                         lroundf.c math_private.h s_asinh.c 
                         s_asinhf.c s_atan.c s_atanf.c s_cbrt.c 
                         s_cbrtf.c s_ceil.c s_ceilf.c s_copysign.c 
                         s_copysignf.c s_cos.c s_cosf.c s_erf.c 
                         s_erff.c s_expm1.c s_expm1f.c s_fabsf.c 
                         s_finite.c s_finitef.c s_floor.c 
                         s_floorf.c s_frexpf.c s_ilogb.c 
                         s_ilogbf.c s_ldexpf.c s_log1p.c 
                         s_log1pf.c s_logb.c s_logbf.c s_modff.c 
                         s_nextafter.c s_nextafterf.c s_rint.c 
                         s_rintf.c s_round.c s_roundf.c s_scalbn.c 
                         s_scalbnf.c s_signgam.c s_significand.c 
                         s_significandf.c s_sin.c s_sinf.c s_tan.c 
                         s_tanf.c s_tanh.c s_tanhf.c w_cabs.c 
                         w_cabsf.c w_drem.c w_dremf.c w_gamma.c 
                         w_gamma_r.c w_gammaf.c w_gammaf_r.c 
                         w_lgamma.c w_lgammaf.c 
    sys/i386/include     math.h 
  Removed files:
    lib/libc/i386/gen    infinity.c isinf.c 
  Log:
  FreeBSD and NetBSD both use derivates of Sun's math library. On FreeBSD,
  it's been put into lib/msun, on NetBSD it is under lib/libm. Since
  DragonFly misses a lot of the changes which went into both and I
  consider the NetBSD version cleaner, switch to that.
  
  Biggest difference to NetBSD is the omission of wrappers for non-IEEE757
  floating point support. There's no point in supporting anything but IEEE
  757 and that saves at least a function call per math entry point.
  
  Addtionally, important the fpclassify, isinf, isnan and signbit
  functions into libc as required for C99.
  
  Remove the support for non-POSIX operation. matherr is pointless and
  wasn't really supported anyway.
  
  Revision  Changes    Path
  1.75      +1 -1      src/Makefile.inc1
  1.3       +2 -2      src/gnu/usr.bin/groff/src/libs/libgroff/Makefile
  1.26      +1 -1      src/include/Makefile
  1.24      +1 -2      src/lib/Makefile
  1.14      +12 -9     src/lib/libc/gen/Makefile.inc
  1.3       +38 -36    src/lib/libc/gen/isinf.3
  1.5       +5 -2      src/lib/libc/i386/gen/Makefile.inc


http://www.dragonflybsd.org/cvsweb/src/Makefile.inc1.diff?r1=1.74&r2=1.75&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/groff/src/libs/libgroff/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/include/Makefile.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/Makefile.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/Makefile.inc.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/isinf.3.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/i386/gen/Makefile.inc.diff?r1=1.4&r2=1.5&f=u





More information about the Commits mailing list