mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- fpclassify() now returns FP_ZERO both for 0 and -0.
- nan() and nanf() now return quiet NaNs. - Added internal __inf() and __inff() functions. - strtof() now calls nanf() and __inff(), respectively, to produce the special floating point values for nan/inf/infinity. - strtod() now calls nan() and __inf(), respectively, to produce the special floating point values for nan/inf/infinity. - The scanf() family now calls nan() and __inf(), respectively, to produce the special floating point values for nan/inf/infinity. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14948 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: math_fp_support.h,v 1.3 2005-01-02 09:07:07 obarthel Exp $
|
||||
* $Id: math_fp_support.h,v 1.4 2005-05-14 10:52:31 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -80,4 +80,9 @@ union ieee_single
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
extern float __inff(void);
|
||||
extern double __inf(void);
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#endif /* _MATH_FP_SUPPORT_H */
|
||||
|
||||
Reference in New Issue
Block a user