cvs commit: src/lib/msun/src s_nextafterl.c s_nexttoward.c

David Schultz das at FreeBSD.org
Mon Mar 7 04:56:46 GMT 2005


das         2005-03-07 04:56:46 UTC

  FreeBSD src repository

  Added files:
    lib/msun/src         s_nextafterl.c s_nexttoward.c 
  Log:
  Implement nexttoward and nextafterl; the latter is also known as
  nexttowardl.  These are not needed on machines where long doubles
  look like IEEE-754 doubles, so the implementation only supports
  the usual long double formats with 15-bit exponents.
  
  Anything bizarre, such as machines where floating-point and integer
  data have different endianness, will cause problems.  This is the case
  with big endian ia64 according to libc/ia64/_fpmath.h.  Please contact
  me if you managed to get a machine running this way.
  
  Revision  Changes    Path
  1.1       +82 -0     src/lib/msun/src/s_nextafterl.c (new)
  1.1       +73 -0     src/lib/msun/src/s_nexttoward.c (new)


More information about the cvs-src mailing list