git: Bring in FreeBSD's msun code for our libm.

Peter Avalos pavalos at crater.dragonflybsd.org
Sun Jun 2 02:40:19 PDT 2013


commit 6ff43c949ec457c91648dc9aef9dbf805e4083d6
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Mon Apr 8 15:04:50 2013 -0700

    Bring in FreeBSD's msun code for our libm.
    
    Our current libm is a mix of NetBSD and FreeBSD.  To ease
    maintainability, sync with FreeBSD as requested by John Marino.
    
    Obtained-from:   FreeBSD

Summary of changes:
 Makefile_upgrade.inc                               |  10 +-
 include/Makefile                                   |  13 +-
 include/complex.h                                  | 151 -----
 {sys/cpu/x86_64/include => include}/float.h        |  32 +-
 include/ieeefp.h                                   |  13 +-
 include/math.h                                     | 521 ---------------
 lib/libc/gen/Makefile.inc                          |  25 +-
 lib/libc/gen/fpclassify.3                          | 149 +++--
 lib/{libm/src/s_rintl.c => libc/gen/fpclassify.c}  | 100 +--
 lib/libc/gen/fpclassifyd.c                         |  67 --
 lib/libc/gen/fpclassifyf.c                         |  67 --
 lib/libc/gen/frexp.3                               |   5 +-
 lib/libc/gen/frexp.c                               |   2 +-
 lib/libc/gen/infinity.c                            |  16 -
 lib/libc/gen/infinityf.c                           |  16 -
 lib/libc/gen/infinityl_dbl.c                       |  22 -
 lib/libc/gen/isfinite.3                            |  77 ---
 lib/libc/gen/isfinited.c                           |  58 --
 lib/libc/gen/isfinitef.c                           |  58 --
 lib/libc/gen/isinf.3                               |  82 ---
 lib/libc/gen/{frexp.c => isinf.c}                  |  51 +-
 lib/libc/gen/isinfd.c                              |  55 --
 lib/libc/gen/isinff.c                              |  55 --
 lib/libc/gen/isnan.3                               |  79 ---
 lib/libc/gen/{frexp.c => isnan.c}                  |  49 +-
 lib/libc/gen/isnand.c                              |  55 --
 lib/libc/gen/isnanf.c                              |  55 --
 lib/libc/gen/isnormal.3                            |  77 ---
 lib/libc/gen/ldexp.3                               |  44 +-
 lib/libc/gen/ldexp.c                               | 121 ++++
 lib/libc/gen/modf.3                                |  37 +-
 lib/{libm/src/s_modf.c => libc/gen/modf.c}         |  65 +-
 lib/libc/gen/signbit.3                             |  77 ---
 lib/libc/gen/signbitd.c                            |  55 --
 lib/libc/gen/signbitf.c                            |  55 --
 lib/libc/i386/gen/Makefile.inc                     |  10 +-
 lib/libc/i386/gen/fabs.S                           |  13 +-
 lib/libc/i386/gen/flt_rounds.S                     |  33 -
 lib/libc/{x86_64 => i386}/gen/flt_rounds.c         |   5 +-
 lib/libc/i386/gen/fpclassifyl.c                    |  70 --
 lib/libc/i386/gen/fpgetmask.S                      |  23 -
 lib/libc/i386/gen/fpgetround.S                     |  23 -
 lib/libc/i386/gen/fpgetsticky.S                    |  21 -
 lib/libc/i386/gen/fpsetmask.S                      |  34 -
 lib/libc/i386/gen/fpsetround.S                     |  35 -
 lib/libc/i386/gen/fpsetsticky.S                    |  33 -
 lib/libc/i386/gen/infinity.c                       |  12 +
 lib/libc/i386/gen/infinityl.c                      |  12 -
 lib/libc/i386/gen/isfinitel.c                      |  61 --
 lib/libc/i386/gen/isinfl.c                         |  56 --
 lib/libc/i386/gen/isnanl.c                         |  56 --
 lib/libc/i386/gen/ldexp.c                          |  66 --
 lib/libc/i386/gen/modf.S                           |  75 ---
 lib/libc/i386/gen/nanf.c                           |   9 -
 lib/libc/i386/gen/signbitl.c                       |  55 --
 lib/libc/x86_64/gen/Makefile.inc                   |   9 +-
 lib/libc/x86_64/gen/fabs.S                         |   4 +-
 lib/libc/x86_64/gen/flt_rounds.c                   |   6 +-
 lib/libc/x86_64/gen/fpclassifyl.c                  |  69 --
 lib/libc/x86_64/gen/fpgetmask.S                    |  26 -
 lib/libc/x86_64/gen/fpgetmask.c                    |   8 +
 lib/libc/x86_64/gen/fpgetprec.c                    |   8 +
 lib/libc/x86_64/gen/fpgetround.S                   |  25 -
 lib/libc/x86_64/gen/fpgetround.c                   |   8 +
 lib/libc/x86_64/gen/fpgetsticky.S                  |  26 -
 lib/libc/x86_64/gen/fpgetsticky.c                  |   8 +
 lib/libc/x86_64/gen/fpsetmask.S                    |  41 --
 lib/libc/x86_64/gen/fpsetmask.c                    |   8 +
 lib/libc/x86_64/gen/fpsetprec.c                    |   8 +
 lib/libc/x86_64/gen/fpsetround.S                   |  48 --
 lib/libc/x86_64/gen/fpsetround.c                   |   8 +
 lib/libc/x86_64/gen/fpsetsticky.S                  |  45 --
 lib/libc/x86_64/gen/infinity.c                     |  12 +
 lib/libc/x86_64/gen/infinityl.c                    |  11 -
 lib/libc/x86_64/gen/isfinitel.c                    |  60 --
 lib/libc/x86_64/gen/isinfl.c                       |  54 --
 lib/libc/x86_64/gen/isnanl.c                       |  54 --
 lib/libc/x86_64/gen/ldexp.c                        |  59 --
 lib/libc/x86_64/gen/modf.S                         |  87 ---
 lib/libc/x86_64/gen/nanf.c                         |   6 -
 lib/libc/x86_64/gen/signbitl.c                     |  54 --
 lib/libm/Makefile                                  | 297 ++++++++-
 lib/libm/arch/i386/Makefile.inc                    |  22 -
 lib/libm/arch/i386/abi.h                           |  81 ---
 lib/libm/arch/i386/e_acos.S                        |  27 -
 lib/libm/arch/i386/e_asin.S                        |  26 -
 lib/libm/arch/i386/e_atan2.S                       |  21 -
 lib/libm/arch/i386/e_atan2f.S                      |  21 -
 lib/libm/arch/i386/e_expf.S                        |  57 --
 lib/libm/arch/i386/e_fmod.S                        |  25 -
 lib/libm/arch/i386/e_log.S                         |  21 -
 lib/libm/arch/i386/e_log10.S                       |  21 -
 lib/libm/arch/i386/e_log10f.S                      |  21 -
 lib/libm/arch/i386/e_log2.S                        |  20 -
 lib/libm/arch/i386/e_log2f.S                       |  20 -
 lib/libm/arch/i386/e_logf.S                        |  21 -
 lib/libm/arch/i386/e_remainder.S                   |  25 -
 lib/libm/arch/i386/e_remainderf.S                  |  25 -
 lib/libm/arch/i386/e_scalb.S                       |  22 -
 lib/libm/arch/i386/e_scalbf.S                      |  21 -
 lib/libm/arch/i386/e_sqrt.S                        |  20 -
 lib/libm/arch/i386/e_sqrtf.S                       |  20 -
 lib/libm/arch/i386/s_atan.S                        |  21 -
 lib/libm/arch/i386/s_atanf.S                       |  21 -
 lib/libm/arch/i386/s_ceil.S                        |  48 --
 lib/libm/arch/i386/s_copysign.S                    |  41 --
 lib/libm/arch/i386/s_copysignf.S                   |  40 --
 lib/libm/arch/i386/s_cos.S                         |  34 -
 lib/libm/arch/i386/s_cosf.S                        |  21 -
 lib/libm/arch/i386/s_finite.S                      |  29 -
 lib/libm/arch/i386/s_finitef.S                     |  28 -
 lib/libm/arch/i386/s_ilogb.S                       |  35 -
 lib/libm/arch/i386/s_ilogbf.S                      |  35 -
 lib/libm/arch/i386/s_ilogbl.S                      |  27 -
 lib/libm/arch/i386/s_log1p.S                       |  79 ---
 lib/libm/arch/i386/s_log1pf.S                      |  79 ---
 lib/libm/arch/i386/s_logb.S                        |  21 -
 lib/libm/arch/i386/s_logbf.S                       |  21 -
 lib/libm/arch/i386/s_logbl.S                       |  19 -
 lib/libm/arch/i386/s_modf.S                        | 106 ---
 lib/libm/arch/i386/s_rint.S                        |  20 -
 lib/libm/arch/i386/s_rintf.S                       |  20 -
 lib/libm/arch/i386/s_scalbn.S                      |  29 -
 lib/libm/arch/i386/s_scalbnf.S                     |  32 -
 lib/libm/arch/i386/s_significand.S                 |  21 -
 lib/libm/arch/i386/s_significandf.S                |  21 -
 lib/libm/arch/i386/s_sin.S                         |  34 -
 lib/libm/arch/i386/s_sinf.S                        |  21 -
 lib/libm/arch/i386/s_tan.S                         |  36 -
 lib/libm/arch/i386/s_tanf.S                        |  22 -
 lib/libm/arch/x86_64/Makefile.inc                  |   6 -
 lib/libm/arch/x86_64/fenv.h                        | 217 ------
 lib/libm/{src => bsdsrc}/b_exp.c                   |  10 +-
 lib/libm/{src => bsdsrc}/b_log.c                   |  76 +--
 lib/libm/{src => bsdsrc}/b_tgamma.c                |  10 +-
 lib/libm/{src => bsdsrc}/mathimpl.h                |  11 +-
 lib/libm/complex/Makefile.inc                      |  42 --
 lib/libm/complex/cabs.c                            |  16 -
 lib/libm/complex/cabsf.c                           |  16 -
 lib/libm/complex/cacos.3                           |  57 --
 lib/libm/complex/cacos.c                           |  44 --
 lib/libm/complex/cacosf.c                          |  44 --
 lib/libm/complex/cacosh.3                          |  58 --
 lib/libm/complex/cacosh.c                          |  45 --
 lib/libm/complex/cacoshf.c                         |  45 --
 lib/libm/complex/carg.3                            |  58 --
 lib/libm/complex/carg.c                            |  17 -
 lib/libm/complex/cargf.c                           |  17 -
 lib/libm/complex/casin.3                           |  58 --
 lib/libm/complex/casin.c                           | 120 ----
 lib/libm/complex/casinf.c                          | 120 ----
 lib/libm/complex/casinh.3                          |  58 --
 lib/libm/complex/casinh.c                          |  42 --
 lib/libm/complex/casinhf.c                         |  42 --
 lib/libm/complex/catan.3                           |  58 --
 lib/libm/complex/catan.c                           |  80 ---
 lib/libm/complex/catanf.c                          |  80 ---
 lib/libm/complex/catanh.3                          |  58 --
 lib/libm/complex/catanh.c                          |  42 --
 lib/libm/complex/catanhf.c                         |  42 --
 lib/libm/complex/ccos.3                            |  53 --
 lib/libm/complex/ccos.c                            |  46 --
 lib/libm/complex/ccosf.c                           |  46 --
 lib/libm/complex/ccosh.3                           |  53 --
 lib/libm/complex/ccosh.c                           |  46 --
 lib/libm/complex/ccoshf.c                          |  46 --
 lib/libm/complex/cephes_subr.c                     | 124 ----
 lib/libm/complex/cephes_subr.h                     |   5 -
 lib/libm/complex/cephes_subrf.c                    | 123 ----
 lib/libm/complex/cephes_subrf.h                    |   5 -
 lib/libm/complex/cexp.3                            |  54 --
 lib/libm/complex/cexp.c                            |  47 --
 lib/libm/complex/cexpf.c                           |  47 --
 lib/libm/complex/cimag.3                           |  63 --
 lib/libm/complex/cimag.c                           |  17 -
 lib/libm/complex/cimagf.c                          |  17 -
 lib/libm/complex/cimagl.c                          |  42 --
 lib/libm/complex/clog.3                            |  58 --
 lib/libm/complex/clog.c                            |  47 --
 lib/libm/complex/clogf.c                           |  47 --
 lib/libm/complex/conj.3                            |  56 --
 lib/libm/complex/conj.c                            |  19 -
 lib/libm/complex/conjf.c                           |  19 -
 lib/libm/complex/conjl.c                           |  46 --
 lib/libm/complex/cpow.3                            |  57 --
 lib/libm/complex/cpow.c                            |  57 --
 lib/libm/complex/cpowf.c                           |  57 --
 lib/libm/complex/cproj.3                           |  59 --
 lib/libm/complex/cproj.c                           |  62 --
 lib/libm/complex/cprojf.c                          |  63 --
 lib/libm/complex/cprojl.c                          |  62 --
 lib/libm/complex/creal.3                           |  63 --
 lib/libm/complex/creal.c                           |  17 -
 lib/libm/complex/crealf.c                          |  17 -
 lib/libm/complex/creall.c                          |  42 --
 lib/libm/complex/csin.3                            |  53 --
 lib/libm/complex/csin.c                            |  46 --
 lib/libm/complex/csinf.c                           |  46 --
 lib/libm/complex/csinh.3                           |  53 --
 lib/libm/complex/csinh.c                           |  46 --
 lib/libm/complex/csinhf.c                          |  46 --
 lib/libm/complex/csqrt.3                           |  58 --
 lib/libm/complex/csqrt.c                           |  99 ---
 lib/libm/complex/csqrtf.c                          |  99 ---
 lib/libm/complex/ctan.3                            |  53 --
 lib/libm/complex/ctan.c                            |  58 --
 lib/libm/complex/ctanf.c                           |  58 --
 lib/libm/complex/ctanh.3                           |  53 --
 lib/libm/complex/ctanh.c                           |  48 --
 lib/libm/complex/ctanhf.c                          |  48 --
 lib/libm/gen/Makefile.inc                          |   9 -
 lib/libm/gen/nan.3                                 | 101 ---
 lib/libm/gen/nan.c                                 |  80 ---
 lib/libm/gen/nanf.c                                |  36 -
 lib/libm/gen/nanl.c                                |  36 -
 lib/libm/i386/Makefile.inc                         |  18 +
 lib/libm/{arch => }/i386/e_exp.S                   |  56 +-
 lib/libm/{arch/i386/e_sqrtl.S => i386/e_fmod.S}    |  21 +-
 lib/libm/{arch/i386/e_sqrtl.S => i386/e_log.S}     |  17 +-
 lib/libm/{arch/i386/e_sqrtl.S => i386/e_log10.S}   |  17 +-
 lib/libm/i386/e_log10f.S                           |  18 +
 lib/libm/i386/e_logf.S                             |  18 +
 .../{arch/i386/e_sqrtl.S => i386/e_remainder.S}    |  21 +-
 lib/libm/i386/e_remainderf.S                       |  22 +
 lib/libm/{arch => }/i386/e_remainderl.S            |  14 +-
 lib/libm/{arch/i386/e_sqrtl.S => i386/e_sqrt.S}    |  14 +-
 lib/libm/i386/e_sqrtf.S                            |  17 +
 lib/libm/{arch => }/i386/e_sqrtl.S                 |   8 +-
 lib/libm/{arch => }/i386/fenv.c                    |  32 +-
 lib/libm/i386/invtrig.c                            |  85 +++
 lib/libm/{arch/i386/e_sqrtl.S => i386/s_ceil.S}    |  31 +-
 lib/libm/{arch => }/i386/s_ceilf.S                 |  20 +-
 lib/libm/{arch/i386/s_ceilf.S => i386/s_ceill.S}   |  25 +-
 .../{arch/i386/e_sqrtl.S => i386/s_copysign.S}     |  23 +-
 lib/libm/i386/s_copysignf.S                        |  22 +
 lib/libm/i386/s_copysignl.S                        |  21 +
 lib/libm/{arch/i386/e_sqrtl.S => i386/s_cos.S}     |  29 +-
 lib/libm/{arch/i386/e_sqrtl.S => i386/s_finite.S}  |  21 +-
 .../{arch/i386/e_remainderl.S => i386/s_floor.S}   |  42 +-
 lib/libm/{arch => }/i386/s_floorf.S                |  20 +-
 lib/libm/{arch/i386/s_floor.S => i386/s_floorl.S}  |  25 +-
 lib/libm/{arch/i386/s_lrint.S => i386/s_llrint.S}  |  16 +-
 .../{arch/i386/s_lrintf.S => i386/s_llrintf.S}     |  16 +-
 lib/libm/{arch/i386/s_lrint.S => i386/s_llrintl.S} |  18 +-
 lib/libm/{arch/i386/e_sqrtl.S => i386/s_logb.S}    |  19 +-
 lib/libm/i386/s_logbf.S                            |  18 +
 lib/libm/{arch/i386/e_sqrtl.S => i386/s_logbl.S}   |  17 +-
 lib/libm/{arch => }/i386/s_lrint.S                 |   7 +-
 lib/libm/{arch => }/i386/s_lrintf.S                |   7 +-
 lib/libm/{arch => }/i386/s_lrintl.S                |  10 +-
 .../{arch/i386/s_remquol.S => i386/s_remquo.S}     |  51 +-
 .../{arch/i386/s_remquol.S => i386/s_remquof.S}    |  51 +-
 lib/libm/{arch => }/i386/s_remquol.S               |  34 +-
 lib/libm/{arch/i386/e_sqrtl.S => i386/s_rint.S}    |  16 +-
 lib/libm/i386/s_rintf.S                            |  17 +
 lib/libm/{arch/i386/e_sqrtl.S => i386/s_rintl.S}   |  14 +-
 lib/libm/{arch/i386/e_sqrtl.S => i386/s_scalbn.S}  |  20 +-
 lib/libm/i386/s_scalbnf.S                          |  22 +
 lib/libm/i386/s_scalbnl.S                          |  22 +
 .../{arch/i386/e_sqrtl.S => i386/s_significand.S}  |  19 +-
 lib/libm/i386/s_significandf.S                     |  18 +
 lib/libm/{arch/i386/e_sqrtl.S => i386/s_sin.S}     |  29 +-
 .../{arch/i386/e_remainderl.S => i386/s_tan.S}     |  38 +-
 lib/libm/i386/s_trunc.S                            |  30 +
 lib/libm/i386/s_truncf.S                           |  30 +
 lib/libm/i386/s_truncl.S                           |  30 +
 lib/libm/{src => ld80}/e_rem_pio2l.h               |  28 +-
 lib/libm/{src => ld80}/invtrig.c                   |   2 +
 lib/libm/{src => ld80}/invtrig.h                   |   2 +-
 lib/libm/{src => ld80}/k_cosl.c                    |   6 +-
 lib/libm/{src => ld80}/k_sinl.c                    |   6 +-
 lib/libm/{src => ld80}/k_tanl.c                    |   7 +-
 lib/libm/{src => ld80}/s_exp2l.c                   |  76 +--
 lib/libm/ld80/s_expl.c                             | 303 +++++++++
 lib/libm/{src/s_copysignl.c => ld80/s_nanl.c}      |  20 +-
 lib/libm/man/Makefile.inc                          |  76 ---
 lib/libm/man/acos.3                                |   2 +-
 lib/libm/man/acosh.3                               |   2 +-
 lib/libm/man/asin.3                                |   2 +-
 lib/libm/man/asinh.3                               |   2 +-
 lib/libm/man/atan.3                                |   2 +-
 lib/libm/man/atan2.3                               |  54 +-
 lib/libm/man/atanh.3                               |   2 +-
 lib/libm/man/cacos.3                               | 128 ++++
 lib/libm/man/{trunc.3 => ccos.3}                   |  89 ++-
 lib/libm/man/{trunc.3 => ccosh.3}                  |  89 ++-
 lib/libm/man/ceil.3                                |   3 +-
 lib/libm/man/{log.3 => cexp.3}                     | 143 ++--
 lib/libm/man/{fmax.3 => cimag.3}                   | 121 ++--
 lib/libm/man/complex.3                             | 124 ++++
 lib/libm/man/copysign.3                            |   3 +-
 lib/libm/man/cos.3                                 |   2 +-
 lib/libm/man/cosh.3                                |  11 +-
 lib/libm/man/csqrt.3                               | 102 +++
 lib/libm/man/erf.3                                 |   2 +-
 lib/libm/man/exp.3                                 |  16 +-
 lib/libm/man/fabs.3                                |   3 +-
 lib/libm/man/fdim.3                                |   2 +-
 lib/libm/man/feclearexcept.3                       |   2 +-
 lib/libm/man/feenableexcept.3                      |   2 +-
 lib/libm/man/fegetenv.3                            |   2 +-
 lib/libm/man/fegetround.3                          |   2 +-
 lib/libm/man/fenv.3                                |  45 +-
 lib/libm/man/finite.3                              |  82 ---
 lib/libm/man/floor.3                               |   3 +-
 lib/libm/man/fma.3                                 |   4 +-
 lib/libm/man/fmax.3                                |   2 +
 lib/libm/man/fmod.3                                |   2 +-
 lib/libm/man/frexp.3                               |  87 ---
 lib/libm/man/hypot.3                               |   2 +-
 lib/libm/man/ieee.3                                | 446 +++++++++++++
 lib/libm/man/ieee_test.3                           |  42 +-
 lib/libm/man/ilogb.3                               |   4 +-
 lib/libm/man/j0.3                                  |   2 +-
 lib/libm/man/lgamma.3                              |   4 +-
 lib/libm/man/log.3                                 |   2 +-
 lib/libm/man/lrint.3                               |   2 +-
 lib/libm/man/lround.3                              |   2 +-
 lib/libm/man/math.3                                | 734 ++++++---------------
 lib/libm/man/nan.3                                 |  99 +++
 lib/libm/man/nextafter.3                           |  14 +-
 lib/libm/man/remainder.3                           |   5 +-
 lib/libm/man/rint.3                                |   5 +-
 lib/libm/man/round.3                               |   5 +-
 lib/libm/man/scalbn.3                              |  21 +-
 lib/libm/man/{trunc.3 => signbit.3}                |  65 +-
 lib/libm/man/sin.3                                 |   2 +-
 lib/libm/man/sinh.3                                |  12 +-
 lib/libm/man/sqrt.3                                |  14 +-
 lib/libm/man/tan.3                                 |   2 +-
 lib/libm/man/tanh.3                                |   2 +-
 lib/libm/man/trunc.3                               |   2 +-
 lib/libm/src/Makefile.inc                          |  54 --
 lib/libm/src/catrig.c                              | 642 ++++++++++++++++++
 lib/libm/src/catrigf.c                             | 387 +++++++++++
 lib/libm/src/complex.h                             | 116 ++++
 lib/libm/src/e_acos.c                              |  33 +-
 lib/libm/src/e_acosf.c                             |  50 +-
 lib/libm/src/e_acosh.c                             |  26 +-
 lib/libm/src/e_acoshf.c                            |  13 +-
 lib/libm/src/e_acosl.c                             |   4 +-
 lib/libm/src/e_asin.c                              |  52 +-
 lib/libm/src/e_asinf.c                             |  75 +--
 lib/libm/src/e_asinl.c                             |  12 +-
 lib/libm/src/e_atan2.c                             |  56 +-
 lib/libm/src/e_atan2f.c                            |  29 +-
 lib/libm/src/e_atan2l.c                            |   6 +-
 lib/libm/src/e_atanh.c                             |  23 +-
 lib/libm/src/e_atanhf.c                            |   7 +-
 lib/libm/src/e_cosh.c                              |  43 +-
 lib/libm/src/e_coshf.c                             |  31 +-
 lib/libm/src/e_exp.c                               |  80 +--
 lib/libm/src/e_expf.c                              |  63 +-
 lib/libm/src/e_fmod.c                              |  28 +-
 lib/libm/src/e_fmodf.c                             |  12 +-
 lib/libm/src/e_fmodl.c                             |   5 +-
 lib/libm/src/e_gamma.c                             |  31 +
 lib/libm/src/e_gamma_r.c                           |  30 +
 lib/libm/src/{w_gammaf.c => e_gammaf.c}            |  19 +-
 lib/libm/src/{w_gammaf_r.c => e_gammaf_r.c}        |  18 +-
 lib/libm/src/e_hypot.c                             |  61 +-
 lib/libm/src/e_hypotf.c                            |  39 +-
 lib/libm/src/e_hypotl.c                            |   5 +-
 lib/libm/src/e_j0.c                                |  45 +-
 lib/libm/src/e_j0f.c                               |  33 +-
 lib/libm/src/e_j1.c                                |  47 +-
 lib/libm/src/e_j1f.c                               |  38 +-
 lib/libm/src/e_jn.c                                |  78 ++-
 lib/libm/src/e_jnf.c                               |  39 +-
 lib/libm/src/e_lgamma.c                            |  31 +
 lib/libm/src/e_lgamma_r.c                          |  53 +-
 lib/libm/src/{w_gammaf_r.c => e_lgammaf.c}         |  19 +-
 lib/libm/src/e_lgammaf_r.c                         |  23 +-
 lib/libm/src/e_log.c                               |  67 +-
 lib/libm/src/e_log10.c                             | 107 +--
 lib/libm/src/e_log10f.c                            |  64 +-
 lib/libm/src/e_log2.c                              | 111 ++--
 lib/libm/src/e_log2f.c                             | 107 +--
 lib/libm/src/e_logf.c                              |  36 +-
 lib/libm/src/e_pow.c                               |  77 ++-
 lib/libm/src/e_powf.c                              |  71 +-
 lib/libm/src/e_rem_pio2.c                          |  33 +-
 lib/libm/src/e_rem_pio2f.c                         |  19 +-
 lib/libm/src/e_remainder.c                         |  71 --
 lib/libm/src/e_remainderf.c                        |  64 --
 lib/libm/src/e_scalb.c                             |  20 +-
 lib/libm/src/e_scalbf.c                            |  10 +-
 lib/libm/src/e_sinh.c                              |  40 +-
 lib/libm/src/e_sinhf.c                             |  28 +-
 lib/libm/src/e_sqrt.c                              | 443 -------------
 lib/libm/src/e_sqrtf.c                             |  88 ---
 lib/libm/src/e_sqrtl.c                             | 160 -----
 lib/libm/{arch/i386 => src}/fenv.h                 | 233 +++++--
 lib/libm/src/k_cos.c                               |  72 +-
 lib/libm/src/k_cosf.c                              |  10 +-
 lib/libm/src/k_exp.c                               | 107 +++
 lib/libm/src/{s_fmaf.c => k_expf.c}                |  81 ++-
 lib/libm/src/{e_log.c => k_log.h}                  | 106 +--
 lib/libm/src/k_logf.h                              |  38 ++
 lib/libm/src/k_rem_pio2.c                          |  81 +--
 lib/libm/src/k_rem_pio2f.c                         | 195 ------
 lib/libm/src/k_sin.c                               |  42 +-
 lib/libm/src/k_sinf.c                              |  11 +-
 lib/libm/src/k_tan.c                               |  56 +-
 lib/libm/src/k_tanf.c                              |  10 +-
 lib/libm/src/math.h                                | 481 ++++++++++++++
 lib/libm/src/math_private.h                        | 325 ++++++---
 lib/libm/src/s_asinh.c                             |  12 +-
 lib/libm/src/s_asinhf.c                            |  11 +-
 lib/libm/src/s_atan.c                              |  18 +-
 lib/libm/src/s_atanf.c                             |  35 +-
 lib/libm/src/s_atanl.c                             |   2 +-
 lib/libm/{complex/s_cargl.c => src/s_carg.c}       |  10 +-
 lib/libm/{complex/s_cargl.c => src/s_cargf.c}      |  10 +-
 lib/libm/{complex => src}/s_cargl.c                |   2 +-
 lib/libm/src/s_cbrt.c                              |  13 +-
 lib/libm/src/s_cbrtf.c                             |   6 +-
 lib/libm/src/s_cbrtl.c                             |  48 +-
 lib/libm/src/s_ccosh.c                             | 154 +++++
 lib/libm/src/s_ccoshf.c                            | 103 +++
 lib/libm/src/s_ceil.c                              |  35 +-
 lib/libm/src/s_ceilf.c                             |  18 +-
 lib/libm/src/s_ceill.c                             |   2 +-
 lib/libm/src/s_cexp.c                              |  88 +++
 lib/libm/src/s_cexpf.c                             |  88 +++
 lib/libm/src/{s_copysignl.c => s_cimag.c}          |  18 +-
 lib/libm/src/{s_copysignl.c => s_cimagf.c}         |  18 +-
 lib/libm/src/{s_copysignl.c => s_cimagl.c}         |  16 +-
 lib/libm/src/{s_copysignl.c => s_conj.c}           |  16 +-
 lib/libm/src/{s_copysignl.c => s_conjf.c}          |  16 +-
 lib/libm/src/{s_copysignl.c => s_conjl.c}          |  16 +-
 lib/libm/src/s_copysign.c                          |   6 +-
 lib/libm/src/s_copysignf.c                         |   5 +-
 lib/libm/src/s_copysignl.c                         |   2 +-
 lib/libm/src/s_cos.c                               |  23 +-
 lib/libm/src/s_cosf.c                              |   9 +-
 lib/libm/src/s_cosl.c                              |  27 +-
 lib/libm/src/{s_tgammaf.c => s_cproj.c}            |  24 +-
 lib/libm/src/{e_remainderl.c => s_cprojf.c}        |  15 +-
 lib/libm/src/{e_remainderl.c => s_cprojl.c}        |  15 +-
 lib/libm/src/{s_copysignl.c => s_creal.c}          |  17 +-
 lib/libm/src/{s_copysignl.c => s_crealf.c}         |  17 +-
 lib/libm/src/{s_copysignl.c => s_creall.c}         |  15 +-
 lib/libm/src/s_csinh.c                             | 156 +++++
 lib/libm/src/s_csinhf.c                            | 104 +++
 lib/libm/{complex/s_csqrtl.c => src/s_csqrt.c}     |  59 +-
 lib/libm/{complex/s_csqrtl.c => src/s_csqrtf.c}    |  81 +--
 lib/libm/{complex => src}/s_csqrtl.c               |   8 +-
 lib/libm/src/s_ctanh.c                             | 143 ++++
 lib/libm/src/{s_tanl.c => s_ctanhf.c}              |  82 +--
 lib/libm/src/s_erf.c                               |  12 +-
 lib/libm/src/s_erff.c                              |  11 +-
 lib/libm/src/s_exp2.c                              |  13 +-
 lib/libm/src/s_exp2f.c                             |  13 +-
 lib/libm/src/s_expm1.c                             |  36 +-
 lib/libm/src/s_expm1f.c                            |  50 +-
 lib/libm/src/s_fabs.c                              |   5 +-
 lib/libm/src/s_fabsf.c                             |   5 +-
 lib/libm/src/s_fabsl.c                             |  50 +-
 lib/libm/src/s_fdim.c                              |   2 +
 lib/libm/src/s_finite.c                            |   9 +-
 lib/libm/src/s_finitef.c                           |   8 +-
 lib/libm/src/s_floor.c                             |  35 +-
 lib/libm/src/s_floorf.c                            |  18 +-
 lib/libm/src/s_floorl.c                            |   2 +-
 lib/libm/src/s_fma.c                               |  18 +-
 lib/libm/src/s_fmaf.c                              |   5 +-
 lib/libm/src/s_fmal.c                              |  18 +-
 lib/libm/src/s_fmax.c                              |  20 +-
 lib/libm/src/s_fmaxf.c                             |  22 +-
 lib/libm/src/s_fmaxl.c                             |  31 +-
 lib/libm/src/s_fmin.c                              |  20 +-
 lib/libm/src/s_fminf.c                             |  22 +-
 lib/libm/src/s_fminl.c                             |  31 +-
 lib/libm/src/s_frexp.c                             |  13 +-
 lib/libm/src/s_frexpf.c                            |   4 +-
 lib/libm/src/s_frexpl.c                            |   2 +-
 lib/libm/src/s_ilogb.c                             |  23 +-
 lib/libm/src/s_ilogbf.c                            |  15 +-
 lib/libm/src/s_ilogbl.c                            | 100 ++-
 lib/libm/src/{s_fdim.c => s_isfinite.c}            |  41 +-
 lib/{libc/gen/frexp.c => libm/src/s_isnan.c}       |  50 +-
 lib/libm/src/{s_fdim.c => s_isnormal.c}            |  41 +-
 lib/libm/src/s_llrint.c                            |  10 -
 lib/libm/src/s_llrintf.c                           |  10 -
 lib/libm/src/s_llrintl.c                           |  10 -
 lib/libm/src/s_llround.c                           |   4 +-
 lib/libm/src/s_llroundf.c                          |   4 +-
 lib/libm/src/s_llroundl.c                          |   4 +-
 lib/libm/src/s_log1p.c                             |  39 +-
 lib/libm/src/s_log1pf.c                            |  43 +-
 lib/libm/src/s_logb.c                              |  25 +-
 lib/libm/src/s_logbf.c                             |  19 +-
 lib/libm/src/s_logbl.c                             |  71 --
 lib/libm/src/s_lrint.c                             |  58 --
 lib/libm/src/s_lrintf.c                            |  10 -
 lib/libm/src/s_lrintl.c                            |  10 -
 lib/libm/src/s_lround.c                            |   2 +-
 lib/libm/src/s_lroundf.c                           |   4 +-
 lib/libm/src/s_lroundl.c                           |   4 +-
 lib/libm/src/s_modf.c                              |   5 +-
 lib/libm/src/s_modff.c                             |  18 +-
 lib/libm/src/s_modfl.c                             |   2 +-
 lib/libm/src/s_nan.c                               | 121 ++++
 lib/libm/src/s_nearbyint.c                         |   8 +-
 lib/libm/src/s_nextafter.c                         |  22 +-
 lib/libm/src/s_nextafterf.c                        |  13 +-
 lib/libm/src/s_nextafterl.c                        | 111 ++--
 lib/libm/src/s_nexttoward.c                        |  82 +--
 lib/libm/src/s_nexttowardf.c                       |   6 +-
 lib/libm/src/s_remquo.c                            | 153 -----
 lib/libm/src/s_remquof.c                           | 120 ----
 lib/libm/src/s_remquol.c                           | 175 -----
 lib/libm/src/s_rint.c                              |  46 +-
 lib/libm/src/s_rintf.c                             |  43 +-
 lib/libm/src/s_round.c                             |   2 +-
 lib/libm/src/s_roundf.c                            |   2 +-
 lib/libm/src/s_roundl.c                            |   2 +-
 lib/libm/src/s_scalbln.c                           |   2 +-
 lib/libm/src/s_scalbn.c                            |  57 --
 lib/libm/src/s_scalbnf.c                           |  53 --
 lib/libm/src/s_scalbnl.c                           |  97 ---
 lib/libm/{complex/s_cargl.c => src/s_signbit.c}    |  33 +-
 lib/libm/src/s_signgam.c                           |   6 +-
 lib/libm/src/s_significand.c                       |   8 +-
 lib/libm/src/s_significandf.c                      |   7 +-
 lib/libm/src/s_sin.c                               |  23 +-
 lib/libm/src/s_sinf.c                              |   9 +-
 lib/libm/src/s_sinl.c                              |  27 +-
 lib/libm/src/s_tan.c                               |  24 +-
 lib/libm/src/s_tanf.c                              |   9 +-
 lib/libm/src/s_tanh.c                              |  26 +-
 lib/libm/src/s_tanhf.c                             |  21 +-
 lib/libm/src/s_tanl.c                              |  23 +-
 lib/libm/src/s_tgammaf.c                           |   2 +-
 lib/libm/src/s_trunc.c                             |  29 +-
 lib/libm/src/s_truncf.c                            |  19 +-
 lib/libm/src/s_truncl.c                            |   2 +-
 lib/libm/src/w_cabs.c                              |  22 +
 lib/libm/src/w_cabsf.c                             |  20 +
 lib/libm/{complex => src}/w_cabsl.c                |   2 +-
 lib/libm/src/w_drem.c                              |   6 +-
 lib/libm/src/w_dremf.c                             |   6 +-
 lib/libm/src/w_gamma.c                             |  29 -
 lib/libm/src/w_gamma_r.c                           |  27 -
 lib/libm/src/w_lgamma.c                            |  28 -
 lib/libm/src/w_lgammaf.c                           |  26 -
 lib/libm/x86_64/Makefile.inc                       |   8 +
 .../i386/e_remainderl.S => x86_64/e_remainder.S}   |  30 +-
 lib/libm/x86_64/e_remainderf.S                     |  26 +
 lib/libm/{arch/i386 => x86_64}/e_remainderl.S      |  16 +-
 lib/libm/{arch/i386/s_lrint.S => x86_64/e_sqrt.S}  |  16 +-
 lib/libm/{arch/i386/s_lrint.S => x86_64/e_sqrtf.S} |  16 +-
 lib/libm/{src/e_remainderl.c => x86_64/e_sqrtl.S}  |  16 +-
 lib/libm/{arch => }/x86_64/fenv.c                  |  25 +-
 lib/libm/x86_64/s_llrint.S                         |   6 +
 lib/libm/x86_64/s_llrintf.S                        |   6 +
 .../{arch/i386/s_lrint.S => x86_64/s_llrintl.S}    |  19 +-
 lib/libm/{arch/i386/e_sqrtl.S => x86_64/s_logbl.S} |  17 +-
 lib/libm/{arch/i386 => x86_64}/s_lrint.S           |  18 +-
 lib/libm/{arch/i386 => x86_64}/s_lrintf.S          |  18 +-
 lib/libm/{arch/i386 => x86_64}/s_lrintl.S          |  10 +-
 .../{arch/i386/s_remquol.S => x86_64/s_remquo.S}   |  54 +-
 .../{arch/i386/s_remquol.S => x86_64/s_remquof.S}  |  54 +-
 lib/libm/{arch/i386 => x86_64}/s_remquol.S         |  35 +-
 lib/libm/{arch/i386/e_sqrtl.S => x86_64/s_rintl.S} |  14 +-
 .../{arch/i386/s_lrint.S => x86_64/s_scalbn.S}     |  23 +-
 .../{arch/i386/s_lrint.S => x86_64/s_scalbnf.S}    |  26 +-
 lib/libm/{arch/i386 => x86_64}/s_scalbnl.S         |  12 +-
 sys/cpu/i386/include/float.h                       |  97 ---
 sys/cpu/i386/include/floatingpoint.h               |  43 --
 sys/cpu/i386/include/ieee.h                        | 112 ----
 sys/cpu/i386/include/ieeefp.h                      |  59 +-
 sys/cpu/i386/include/math.h                        |  18 -
 sys/cpu/x86_64/include/floatingpoint.h             |  43 --
 sys/cpu/x86_64/include/ieee.h                      | 106 ---
 sys/cpu/x86_64/include/ieeefp.h                    | 109 +--
 sys/cpu/x86_64/include/math.h                      |  17 -
 sys/sys/param.h                                    |   3 +-
 579 files changed, 9406 insertions(+), 16232 deletions(-)
 delete mode 100644 include/complex.h
 rename {sys/cpu/x86_64/include => include}/float.h (77%)
 delete mode 100644 include/math.h
 rename lib/{libm/src/s_rintl.c => libc/gen/fpclassify.c} (52%)
 delete mode 100644 lib/libc/gen/fpclassifyd.c
 delete mode 100644 lib/libc/gen/fpclassifyf.c
 delete mode 100644 lib/libc/gen/infinity.c
 delete mode 100644 lib/libc/gen/infinityf.c
 delete mode 100644 lib/libc/gen/infinityl_dbl.c
 delete mode 100644 lib/libc/gen/isfinite.3
 delete mode 100644 lib/libc/gen/isfinited.c
 delete mode 100644 lib/libc/gen/isfinitef.c
 delete mode 100644 lib/libc/gen/isinf.3
 copy lib/libc/gen/{frexp.c => isinf.c} (70%)
 delete mode 100644 lib/libc/gen/isinfd.c
 delete mode 100644 lib/libc/gen/isinff.c
 delete mode 100644 lib/libc/gen/isnan.3
 copy lib/libc/gen/{frexp.c => isnan.c} (65%)
 delete mode 100644 lib/libc/gen/isnand.c
 delete mode 100644 lib/libc/gen/isnanf.c
 delete mode 100644 lib/libc/gen/isnormal.3
 create mode 100644 lib/libc/gen/ldexp.c
 copy lib/{libm/src/s_modf.c => libc/gen/modf.c} (60%)
 delete mode 100644 lib/libc/gen/signbit.3
 delete mode 100644 lib/libc/gen/signbitd.c
 delete mode 100644 lib/libc/gen/signbitf.c
 delete mode 100644 lib/libc/i386/gen/flt_rounds.S
 copy lib/libc/{x86_64 => i386}/gen/flt_rounds.c (72%)
 delete mode 100644 lib/libc/i386/gen/fpclassifyl.c
 delete mode 100644 lib/libc/i386/gen/fpgetmask.S
 delete mode 100644 lib/libc/i386/gen/fpgetround.S
 delete mode 100644 lib/libc/i386/gen/fpgetsticky.S
 delete mode 100644 lib/libc/i386/gen/fpsetmask.S
 delete mode 100644 lib/libc/i386/gen/fpsetround.S
 delete mode 100644 lib/libc/i386/gen/fpsetsticky.S
 create mode 100644 lib/libc/i386/gen/infinity.c
 delete mode 100644 lib/libc/i386/gen/infinityl.c
 delete mode 100644 lib/libc/i386/gen/isfinitel.c
 delete mode 100644 lib/libc/i386/gen/isinfl.c
 delete mode 100644 lib/libc/i386/gen/isnanl.c
 delete mode 100644 lib/libc/i386/gen/ldexp.c
 delete mode 100644 lib/libc/i386/gen/modf.S
 delete mode 100644 lib/libc/i386/gen/nanf.c
 delete mode 100644 lib/libc/i386/gen/signbitl.c
 delete mode 100644 lib/libc/x86_64/gen/fpclassifyl.c
 delete mode 100644 lib/libc/x86_64/gen/fpgetmask.S
 create mode 100644 lib/libc/x86_64/gen/fpgetmask.c
 create mode 100644 lib/libc/x86_64/gen/fpgetprec.c
 delete mode 100644 lib/libc/x86_64/gen/fpgetround.S
 create mode 100644 lib/libc/x86_64/gen/fpgetround.c
 delete mode 100644 lib/libc/x86_64/gen/fpgetsticky.S
 create mode 100644 lib/libc/x86_64/gen/fpgetsticky.c
 delete mode 100644 lib/libc/x86_64/gen/fpsetmask.S
 create mode 100644 lib/libc/x86_64/gen/fpsetmask.c
 create mode 100644 lib/libc/x86_64/gen/fpsetprec.c
 delete mode 100644 lib/libc/x86_64/gen/fpsetround.S
 create mode 100644 lib/libc/x86_64/gen/fpsetround.c
 delete mode 100644 lib/libc/x86_64/gen/fpsetsticky.S
 create mode 100644 lib/libc/x86_64/gen/infinity.c
 delete mode 100644 lib/libc/x86_64/gen/infinityl.c
 delete mode 100644 lib/libc/x86_64/gen/isfinitel.c
 delete mode 100644 lib/libc/x86_64/gen/isinfl.c
 delete mode 100644 lib/libc/x86_64/gen/isnanl.c
 delete mode 100644 lib/libc/x86_64/gen/ldexp.c
 delete mode 100644 lib/libc/x86_64/gen/modf.S
 delete mode 100644 lib/libc/x86_64/gen/nanf.c
 delete mode 100644 lib/libc/x86_64/gen/signbitl.c
 delete mode 100644 lib/libm/arch/i386/Makefile.inc
 delete mode 100644 lib/libm/arch/i386/abi.h
 delete mode 100644 lib/libm/arch/i386/e_acos.S
 delete mode 100644 lib/libm/arch/i386/e_asin.S
 delete mode 100644 lib/libm/arch/i386/e_atan2.S
 delete mode 100644 lib/libm/arch/i386/e_atan2f.S
 delete mode 100644 lib/libm/arch/i386/e_expf.S
 delete mode 100644 lib/libm/arch/i386/e_fmod.S
 delete mode 100644 lib/libm/arch/i386/e_log.S
 delete mode 100644 lib/libm/arch/i386/e_log10.S
 delete mode 100644 lib/libm/arch/i386/e_log10f.S
 delete mode 100644 lib/libm/arch/i386/e_log2.S
 delete mode 100644 lib/libm/arch/i386/e_log2f.S
 delete mode 100644 lib/libm/arch/i386/e_logf.S
 delete mode 100644 lib/libm/arch/i386/e_remainder.S
 delete mode 100644 lib/libm/arch/i386/e_remainderf.S
 delete mode 100644 lib/libm/arch/i386/e_scalb.S
 delete mode 100644 lib/libm/arch/i386/e_scalbf.S
 delete mode 100644 lib/libm/arch/i386/e_sqrt.S
 delete mode 100644 lib/libm/arch/i386/e_sqrtf.S
 delete mode 100644 lib/libm/arch/i386/s_atan.S
 delete mode 100644 lib/libm/arch/i386/s_atanf.S
 delete mode 100644 lib/libm/arch/i386/s_ceil.S
 delete mode 100644 lib/libm/arch/i386/s_copysign.S
 delete mode 100644 lib/libm/arch/i386/s_copysignf.S
 delete mode 100644 lib/libm/arch/i386/s_cos.S
 delete mode 100644 lib/libm/arch/i386/s_cosf.S
 delete mode 100644 lib/libm/arch/i386/s_finite.S
 delete mode 100644 lib/libm/arch/i386/s_finitef.S
 delete mode 100644 lib/libm/arch/i386/s_ilogb.S
 delete mode 100644 lib/libm/arch/i386/s_ilogbf.S
 delete mode 100644 lib/libm/arch/i386/s_ilogbl.S
 delete mode 100644 lib/libm/arch/i386/s_log1p.S
 delete mode 100644 lib/libm/arch/i386/s_log1pf.S
 delete mode 100644 lib/libm/arch/i386/s_logb.S
 delete mode 100644 lib/libm/arch/i386/s_logbf.S
 delete mode 100644 lib/libm/arch/i386/s_logbl.S
 delete mode 100644 lib/libm/arch/i386/s_modf.S
 delete mode 100644 lib/libm/arch/i386/s_rint.S
 delete mode 100644 lib/libm/arch/i386/s_rintf.S
 delete mode 100644 lib/libm/arch/i386/s_scalbn.S
 delete mode 100644 lib/libm/arch/i386/s_scalbnf.S
 delete mode 100644 lib/libm/arch/i386/s_significand.S
 delete mode 100644 lib/libm/arch/i386/s_significandf.S
 delete mode 100644 lib/libm/arch/i386/s_sin.S
 delete mode 100644 lib/libm/arch/i386/s_sinf.S
 delete mode 100644 lib/libm/arch/i386/s_tan.S
 delete mode 100644 lib/libm/arch/i386/s_tanf.S
 delete mode 100644 lib/libm/arch/x86_64/Makefile.inc
 delete mode 100644 lib/libm/arch/x86_64/fenv.h
 rename lib/libm/{src => bsdsrc}/b_exp.c (91%)
 rename lib/libm/{src => bsdsrc}/b_log.c (86%)
 rename lib/libm/{src => bsdsrc}/b_tgamma.c (95%)
 rename lib/libm/{src => bsdsrc}/mathimpl.h (86%)
 delete mode 100644 lib/libm/complex/Makefile.inc
 delete mode 100644 lib/libm/complex/cabs.c
 delete mode 100644 lib/libm/complex/cabsf.c
 delete mode 100644 lib/libm/complex/cacos.3
 delete mode 100644 lib/libm/complex/cacos.c
 delete mode 100644 lib/libm/complex/cacosf.c
 delete mode 100644 lib/libm/complex/cacosh.3
 delete mode 100644 lib/libm/complex/cacosh.c
 delete mode 100644 lib/libm/complex/cacoshf.c
 delete mode 100644 lib/libm/complex/carg.3
 delete mode 100644 lib/libm/complex/carg.c
 delete mode 100644 lib/libm/complex/cargf.c
 delete mode 100644 lib/libm/complex/casin.3
 delete mode 100644 lib/libm/complex/casin.c
 delete mode 100644 lib/libm/complex/casinf.c
 delete mode 100644 lib/libm/complex/casinh.3
 delete mode 100644 lib/libm/complex/casinh.c
 delete mode 100644 lib/libm/complex/casinhf.c
 delete mode 100644 lib/libm/complex/catan.3
 delete mode 100644 lib/libm/complex/catan.c
 delete mode 100644 lib/libm/complex/catanf.c
 delete mode 100644 lib/libm/complex/catanh.3
 delete mode 100644 lib/libm/complex/catanh.c
 delete mode 100644 lib/libm/complex/catanhf.c
 delete mode 100644 lib/libm/complex/ccos.3
 delete mode 100644 lib/libm/complex/ccos.c
 delete mode 100644 lib/libm/complex/ccosf.c
 delete mode 100644 lib/libm/complex/ccosh.3
 delete mode 100644 lib/libm/complex/ccosh.c
 delete mode 100644 lib/libm/complex/ccoshf.c
 delete mode 100644 lib/libm/complex/cephes_subr.c
 delete mode 100644 lib/libm/complex/cephes_subr.h
 delete mode 100644 lib/libm/complex/cephes_subrf.c
 delete mode 100644 lib/libm/complex/cephes_subrf.h
 delete mode 100644 lib/libm/complex/cexp.3
 delete mode 100644 lib/libm/complex/cexp.c
 delete mode 100644 lib/libm/complex/cexpf.c
 delete mode 100644 lib/libm/complex/cimag.3
 delete mode 100644 lib/libm/complex/cimag.c
 delete mode 100644 lib/libm/complex/cimagf.c
 delete mode 100644 lib/libm/complex/cimagl.c
 delete mode 100644 lib/libm/complex/clog.3
 delete mode 100644 lib/libm/complex/clog.c
 delete mode 100644 lib/libm/complex/clogf.c
 delete mode 100644 lib/libm/complex/conj.3
 delete mode 100644 lib/libm/complex/conj.c
 delete mode 100644 lib/libm/complex/conjf.c
 delete mode 100644 lib/libm/complex/conjl.c
 delete mode 100644 lib/libm/complex/cpow.3
 delete mode 100644 lib/libm/complex/cpow.c
 delete mode 100644 lib/libm/complex/cpowf.c
 delete mode 100644 lib/libm/complex/cproj.3
 delete mode 100644 lib/libm/complex/cproj.c
 delete mode 100644 lib/libm/complex/cprojf.c
 delete mode 100644 lib/libm/complex/cprojl.c
 delete mode 100644 lib/libm/complex/creal.3
 delete mode 100644 lib/libm/complex/creal.c
 delete mode 100644 lib/libm/complex/crealf.c
 delete mode 100644 lib/libm/complex/creall.c
 delete mode 100644 lib/libm/complex/csin.3
 delete mode 100644 lib/libm/complex/csin.c
 delete mode 100644 lib/libm/complex/csinf.c
 delete mode 100644 lib/libm/complex/csinh.3
 delete mode 100644 lib/libm/complex/csinh.c
 delete mode 100644 lib/libm/complex/csinhf.c
 delete mode 100644 lib/libm/complex/csqrt.3
 delete mode 100644 lib/libm/complex/csqrt.c
 delete mode 100644 lib/libm/complex/csqrtf.c
 delete mode 100644 lib/libm/complex/ctan.3
 delete mode 100644 lib/libm/complex/ctan.c
 delete mode 100644 lib/libm/complex/ctanf.c
 delete mode 100644 lib/libm/complex/ctanh.3
 delete mode 100644 lib/libm/complex/ctanh.c
 delete mode 100644 lib/libm/complex/ctanhf.c
 delete mode 100644 lib/libm/gen/Makefile.inc
 delete mode 100644 lib/libm/gen/nan.3
 delete mode 100644 lib/libm/gen/nan.c
 delete mode 100644 lib/libm/gen/nanf.c
 delete mode 100644 lib/libm/gen/nanl.c
 create mode 100644 lib/libm/i386/Makefile.inc
 rename lib/libm/{arch => }/i386/e_exp.S (70%)
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/e_fmod.S} (91%)
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/e_log.S} (93%)
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/e_log10.S} (93%)
 create mode 100644 lib/libm/i386/e_log10f.S
 create mode 100644 lib/libm/i386/e_logf.S
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/e_remainder.S} (90%)
 create mode 100644 lib/libm/i386/e_remainderf.S
 copy lib/libm/{arch => }/i386/e_remainderl.S (92%)
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/e_sqrt.S} (94%)
 create mode 100644 lib/libm/i386/e_sqrtf.S
 copy lib/libm/{arch => }/i386/e_sqrtl.S (95%)
 rename lib/libm/{arch => }/i386/fenv.c (86%)
 create mode 100644 lib/libm/i386/invtrig.c
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/s_ceil.S} (80%)
 copy lib/libm/{arch => }/i386/s_ceilf.S (57%)
 rename lib/libm/{arch/i386/s_ceilf.S => i386/s_ceill.S} (50%)
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/s_copysign.S} (87%)
 create mode 100644 lib/libm/i386/s_copysignf.S
 create mode 100644 lib/libm/i386/s_copysignl.S
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/s_cos.S} (86%)
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/s_finite.S} (89%)
 copy lib/libm/{arch/i386/e_remainderl.S => i386/s_floor.S} (80%)
 rename lib/libm/{arch => }/i386/s_floorf.S (57%)
 rename lib/libm/{arch/i386/s_floor.S => i386/s_floorl.S} (50%)
 copy lib/libm/{arch/i386/s_lrint.S => i386/s_llrint.S} (91%)
 copy lib/libm/{arch/i386/s_lrintf.S => i386/s_llrintf.S} (90%)
 copy lib/libm/{arch/i386/s_lrint.S => i386/s_llrintl.S} (90%)
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/s_logb.S} (92%)
 create mode 100644 lib/libm/i386/s_logbf.S
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/s_logbl.S} (93%)
 copy lib/libm/{arch => }/i386/s_lrint.S (94%)
 copy lib/libm/{arch => }/i386/s_lrintf.S (94%)
 copy lib/libm/{arch => }/i386/s_lrintl.S (92%)
 copy lib/libm/{arch/i386/s_remquol.S => i386/s_remquo.S} (70%)
 copy lib/libm/{arch/i386/s_remquol.S => i386/s_remquof.S} (70%)
 copy lib/libm/{arch => }/i386/s_remquol.S (77%)
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/s_rint.S} (93%)
 create mode 100644 lib/libm/i386/s_rintf.S
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/s_rintl.S} (94%)
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/s_scalbn.S} (89%)
 create mode 100644 lib/libm/i386/s_scalbnf.S
 create mode 100644 lib/libm/i386/s_scalbnl.S
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/s_significand.S} (91%)
 create mode 100644 lib/libm/i386/s_significandf.S
 copy lib/libm/{arch/i386/e_sqrtl.S => i386/s_sin.S} (86%)
 copy lib/libm/{arch/i386/e_remainderl.S => i386/s_tan.S} (86%)
 create mode 100644 lib/libm/i386/s_trunc.S
 create mode 100644 lib/libm/i386/s_truncf.S
 create mode 100644 lib/libm/i386/s_truncl.S
 rename lib/libm/{src => ld80}/e_rem_pio2l.h (89%)
 rename lib/libm/{src => ld80}/invtrig.c (97%)
 rename lib/libm/{src => ld80}/invtrig.h (97%)
 rename lib/libm/{src => ld80}/k_cosl.c (93%)
 rename lib/libm/{src => ld80}/k_sinl.c (90%)
 rename lib/libm/{src => ld80}/k_tanl.c (96%)
 rename lib/libm/{src => ld80}/s_exp2l.c (86%)
 create mode 100644 lib/libm/ld80/s_expl.c
 copy lib/libm/{src/s_copysignl.c => ld80/s_nanl.c} (79%)
 delete mode 100644 lib/libm/man/Makefile.inc
 create mode 100644 lib/libm/man/cacos.3
 copy lib/libm/man/{trunc.3 => ccos.3} (62%)
 copy lib/libm/man/{trunc.3 => ccosh.3} (61%)
 copy lib/libm/man/{log.3 => cexp.3} (52%)
 copy lib/libm/man/{fmax.3 => cimag.3} (50%)
 create mode 100644 lib/libm/man/complex.3
 create mode 100644 lib/libm/man/csqrt.3
 delete mode 100644 lib/libm/man/finite.3
 delete mode 100644 lib/libm/man/frexp.3
 create mode 100644 lib/libm/man/ieee.3
 create mode 100644 lib/libm/man/nan.3
 copy lib/libm/man/{trunc.3 => signbit.3} (64%)
 delete mode 100644 lib/libm/src/Makefile.inc
 create mode 100644 lib/libm/src/catrig.c
 create mode 100644 lib/libm/src/catrigf.c
 create mode 100644 lib/libm/src/complex.h
 create mode 100644 lib/libm/src/e_gamma.c
 create mode 100644 lib/libm/src/e_gamma_r.c
 rename lib/libm/src/{w_gammaf.c => e_gammaf.c} (59%)
 copy lib/libm/src/{w_gammaf_r.c => e_gammaf_r.c} (54%)
 create mode 100644 lib/libm/src/e_lgamma.c
 rename lib/libm/src/{w_gammaf_r.c => e_lgammaf.c} (59%)
 delete mode 100644 lib/libm/src/e_remainder.c
 delete mode 100644 lib/libm/src/e_remainderf.c
 delete mode 100644 lib/libm/src/e_sqrt.c
 delete mode 100644 lib/libm/src/e_sqrtf.c
 delete mode 100644 lib/libm/src/e_sqrtl.c
 rename lib/libm/{arch/i386 => src}/fenv.h (69%)
 create mode 100644 lib/libm/src/k_exp.c
 copy lib/libm/src/{s_fmaf.c => k_expf.c} (50%)
 copy lib/libm/src/{e_log.c => k_log.h} (51%)
 create mode 100644 lib/libm/src/k_logf.h
 delete mode 100644 lib/libm/src/k_rem_pio2f.c
 create mode 100644 lib/libm/src/math.h
 copy lib/libm/{complex/s_cargl.c => src/s_carg.c} (87%)
 copy lib/libm/{complex/s_cargl.c => src/s_cargf.c} (87%)
 copy lib/libm/{complex => src}/s_cargl.c (95%)
 create mode 100644 lib/libm/src/s_ccosh.c
 create mode 100644 lib/libm/src/s_ccoshf.c
 create mode 100644 lib/libm/src/s_cexp.c
 create mode 100644 lib/libm/src/s_cexpf.c
 copy lib/libm/src/{s_copysignl.c => s_cimag.c} (86%)
 copy lib/libm/src/{s_copysignl.c => s_cimagf.c} (86%)
 copy lib/libm/src/{s_copysignl.c => s_cimagl.c} (86%)
 copy lib/libm/src/{s_copysignl.c => s_conj.c} (86%)
 copy lib/libm/src/{s_copysignl.c => s_conjf.c} (86%)
 copy lib/libm/src/{s_copysignl.c => s_conjl.c} (86%)
 copy lib/libm/src/{s_tgammaf.c => s_cproj.c} (80%)
 copy lib/libm/src/{e_remainderl.c => s_cprojf.c} (83%)
 copy lib/libm/src/{e_remainderl.c => s_cprojl.c} (82%)
 copy lib/libm/src/{s_copysignl.c => s_creal.c} (85%)
 copy lib/libm/src/{s_copysignl.c => s_crealf.c} (85%)
 copy lib/libm/src/{s_copysignl.c => s_creall.c} (86%)
 create mode 100644 lib/libm/src/s_csinh.c
 create mode 100644 lib/libm/src/s_csinhf.c
 copy lib/libm/{complex/s_csqrtl.c => src/s_csqrt.c} (68%)
 copy lib/libm/{complex/s_csqrtl.c => src/s_csqrtf.c} (56%)
 rename lib/libm/{complex => src}/s_csqrtl.c (95%)
 create mode 100644 lib/libm/src/s_ctanh.c
 copy lib/libm/src/{s_tanl.c => s_ctanhf.c} (55%)
 copy lib/libm/src/{s_fdim.c => s_isfinite.c} (78%)
 copy lib/{libc/gen/frexp.c => libm/src/s_isnan.c} (73%)
 copy lib/libm/src/{s_fdim.c => s_isnormal.c} (76%)
 delete mode 100644 lib/libm/src/s_llrint.c
 delete mode 100644 lib/libm/src/s_llrintf.c
 delete mode 100644 lib/libm/src/s_llrintl.c
 delete mode 100644 lib/libm/src/s_logbl.c
 delete mode 100644 lib/libm/src/s_lrint.c
 delete mode 100644 lib/libm/src/s_lrintf.c
 delete mode 100644 lib/libm/src/s_lrintl.c
 create mode 100644 lib/libm/src/s_nan.c
 delete mode 100644 lib/libm/src/s_remquo.c
 delete mode 100644 lib/libm/src/s_remquof.c
 delete mode 100644 lib/libm/src/s_remquol.c
 delete mode 100644 lib/libm/src/s_scalbn.c
 delete mode 100644 lib/libm/src/s_scalbnf.c
 delete mode 100644 lib/libm/src/s_scalbnl.c
 rename lib/libm/{complex/s_cargl.c => src/s_signbit.c} (76%)
 create mode 100644 lib/libm/src/w_cabs.c
 create mode 100644 lib/libm/src/w_cabsf.c
 rename lib/libm/{complex => src}/w_cabsl.c (80%)
 delete mode 100644 lib/libm/src/w_gamma.c
 delete mode 100644 lib/libm/src/w_gamma_r.c
 delete mode 100644 lib/libm/src/w_lgamma.c
 delete mode 100644 lib/libm/src/w_lgammaf.c
 create mode 100644 lib/libm/x86_64/Makefile.inc
 copy lib/libm/{arch/i386/e_remainderl.S => x86_64/e_remainder.S} (86%)
 create mode 100644 lib/libm/x86_64/e_remainderf.S
 rename lib/libm/{arch/i386 => x86_64}/e_remainderl.S (92%)
 copy lib/libm/{arch/i386/s_lrint.S => x86_64/e_sqrt.S} (89%)
 copy lib/libm/{arch/i386/s_lrint.S => x86_64/e_sqrtf.S} (89%)
 rename lib/libm/{src/e_remainderl.c => x86_64/e_sqrtl.S} (87%)
 rename lib/libm/{arch => }/x86_64/fenv.c (83%)
 create mode 100644 lib/libm/x86_64/s_llrint.S
 create mode 100644 lib/libm/x86_64/s_llrintf.S
 copy lib/libm/{arch/i386/s_lrint.S => x86_64/s_llrintl.S} (89%)
 copy lib/libm/{arch/i386/e_sqrtl.S => x86_64/s_logbl.S} (93%)
 copy lib/libm/{arch/i386 => x86_64}/s_lrint.S (91%)
 rename lib/libm/{arch/i386 => x86_64}/s_lrintf.S (91%)
 rename lib/libm/{arch/i386 => x86_64}/s_lrintl.S (92%)
 copy lib/libm/{arch/i386/s_remquol.S => x86_64/s_remquo.S} (70%)
 copy lib/libm/{arch/i386/s_remquol.S => x86_64/s_remquof.S} (70%)
 rename lib/libm/{arch/i386 => x86_64}/s_remquol.S (77%)
 rename lib/libm/{arch/i386/e_sqrtl.S => x86_64/s_rintl.S} (94%)
 copy lib/libm/{arch/i386/s_lrint.S => x86_64/s_scalbn.S} (85%)
 rename lib/libm/{arch/i386/s_lrint.S => x86_64/s_scalbnf.S} (83%)
 rename lib/libm/{arch/i386 => x86_64}/s_scalbnl.S (54%)
 delete mode 100644 sys/cpu/i386/include/float.h
 delete mode 100644 sys/cpu/i386/include/floatingpoint.h
 delete mode 100644 sys/cpu/i386/include/ieee.h
 delete mode 100644 sys/cpu/i386/include/math.h
 delete mode 100644 sys/cpu/x86_64/include/floatingpoint.h
 delete mode 100644 sys/cpu/x86_64/include/ieee.h
 delete mode 100644 sys/cpu/x86_64/include/math.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6ff43c949ec457c91648dc9aef9dbf805e4083d6


-- 
DragonFly BSD source repository



More information about the Commits mailing list