Re: [GD-General] The joy of type aliasing and C
Brought to you by:
vexxed72
From: Brian H. <ho...@py...> - 2003-12-29 16:45:25
|
> int _fpclass(double); Not portable. The C99 standard introduced classification as a standard macro: int fpclassify(double x); Which returns one of the predefined classification macros (FP_INFINITE, etc.). These are expected to be in <math.h> I'm hoping/assuming that even "lightly compliant" C99 compilers will have these in them. It also specifies isfinite(), isnan(), etc. There is no portable way to recompress to a float16, since float16 is not portable. Brian |