]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't assume that int is signed 32-bits in one place. Keep assuming
authorBruce Evans <bde@FreeBSD.org>
Wed, 2 May 2007 16:54:22 +0000 (16:54 +0000)
committerBruce Evans <bde@FreeBSD.org>
Wed, 2 May 2007 16:54:22 +0000 (16:54 +0000)
commit9698b3b564a476ffd4148aa8dbd6c5bbe65e493b
tree34ee8d134aca2b7394ca228c48ad7a404dc1c234
parent361cf3bd02398953fda51c43facd7af12fdc5d7a
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.
lib/msun/src/e_lgamma_r.c
lib/msun/src/e_lgammaf_r.c