cvs commit: src/lib/msun/src e_lgamma_r.c e_lgammaf_r.c

Bruce Evans bde at FreeBSD.org
Wed May 2 16:54:23 UTC 2007


bde         2007-05-02 16:54:23 UTC

  FreeBSD src repository

  Modified files:
    lib/msun/src         e_lgamma_r.c e_lgammaf_r.c 
  Log:
  Don't assume that int is signed 32-bits in one place.  Keep assuming
  that ints have >= 31 value bits elsewhere.  s/int/int32_t/ seems to
  have been done too globally for all other files in msun/src before
  msun/ was imported into FreeBSD.
  
  Minor fixes in comments.
  
  e_lgamma_r.c:
  Describe special cases in more detail:
  - exception for lgamma(0) and lgamma(neg.integer)
  - lgamma(-Inf) = Inf.  This is wrong but is required by C99 Annex F.  I
    hope to change this.
  
  Revision  Changes    Path
  1.9       +8 -6      src/lib/msun/src/e_lgamma_r.c
  1.10      +3 -2      src/lib/msun/src/e_lgammaf_r.c


More information about the cvs-src mailing list