1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 06:20:23 +02:00

(xisinf): Add a comment about solaris 7 lacking isinf.

This commit is contained in:
Kevin Ryde 2004-04-15 01:24:00 +00:00
parent c9cdd3966e
commit a98ce90708

View file

@ -124,6 +124,9 @@ isinf (double x)
#define xmpz_cmp_d(z, d) mpz_cmp_d (z, d) #define xmpz_cmp_d(z, d) mpz_cmp_d (z, d)
#endif #endif
/* For reference, sparc solaris 7 has infinities (IEEE) but doesn't have
isinf. It does have finite and isnan though, hence the use of those.
fpclass would be a possibility on that system too. */
static int static int
xisinf (double x) xisinf (double x)
{ {