﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
645	isinf not available on Solaris	felix winkelmann	felix winkelmann	"Claude marinier reported:

{{{
>> Building chicken 4.7.0 on Solaris 10 running on SPARC (M5000) with gcc
>> 3.4.6 from SunFreeware.
>>
>> Linking chicken fails with missing isinf. Added definition to
>> chicken.h after line 954.

#ifndef isinf
# define isinf(x) \
     (sizeof (x) == sizeof (long double) ? isinf_ld (x) \
      : sizeof (x) == sizeof (double) ? isinf_d (x) \
      : isinf_f (x))
static inline int isinf_f  (float       x)
{ return !isnan (x) && isnan (x - x); }
static inline int isinf_d  (double      x)
{ return !isnan (x) && isnan (x - x); }
static inline int isinf_ld (long double x)
{ return !isnan (x) && isnan (x - x); }
#endif
}}}

See also:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/7151
"	defect	closed	major	4.9.0	core libraries	4.7.x	fixed	isinf runtime solaris		
