Re: The joy of type aliasing and C

Brian Hook <[email protected]>
Newsgroups gmane.games.devel.general
Message-ID <20031229114511.153711@GATEWAY>
> 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




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU7
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.