Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2005 06:03:40 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/alpha/gen ldexp.c src/lib/libc/arm/gen ldexp.c src/lib/libc/ia64/gen ldexp.c src/lib/libc/powerpc/gen ldexp.c src/lib/libc/sparc64/gen ldexp.c src/lib/libc/gen ldexp.c
Message-ID:  <200501220603.j0M63egE037897@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
das         2005-01-22 06:03:40 UTC

  FreeBSD src repository

  Added files:
    lib/libc/gen         ldexp.c 
  Removed files:
    lib/libc/alpha/gen   ldexp.c 
    lib/libc/arm/gen     ldexp.c 
    lib/libc/ia64/gen    ldexp.c 
    lib/libc/powerpc/gen ldexp.c 
    lib/libc/sparc64/gen ldexp.c 
  Log:
  Replace the ldexp() implementation in libc with a renamed copy of the
  scalbn() implementation from libm.  (The two functions are defined to
  be identical, but ldexp() lives in libc for backwards compatibility.)
  The old ldexp() implementation...
    - was more complicated than this one
    - set errno instead of raising FP exceptions
    - got some corner cases wrong
      (e.g. ldexp(1.0, 2000) in round-to-zero mode)
  
  The new implementation lives in libc/gen instead of
  libc/$MACHINE_ARCH/gen, since we don't need N copies of a
  machine-independent file.  The amd64 and i386 platforms
  retain their fast and correct MD implementations and
  override this one.
  
  Revision  Changes    Path
  1.5       +0 -137    src/lib/libc/alpha/gen/ldexp.c (dead)
  1.2       +0 -155    src/lib/libc/arm/gen/ldexp.c (dead)
  1.1       +123 -0    src/lib/libc/gen/ldexp.c (new)
  1.4       +0 -137    src/lib/libc/ia64/gen/ldexp.c (dead)
  1.2       +0 -155    src/lib/libc/powerpc/gen/ldexp.c (dead)
  1.4       +0 -155    src/lib/libc/sparc64/gen/ldexp.c (dead)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501220603.j0M63egE037897>