isnan() and isinf() checks

Thiago Macieira thiago at kde.org
Thu Apr 12 18:33:56 BST 2007


Hasso Tepper wrote:
>The C99 standard says that isinf and isnan are macros,

C99 doesn't apply to KDE code because we're using C++98. So, ignore what 
it says.

However, just like the stdint.h and inttypes.h headers, we can test for 
the feature. If they are detected, we can use it.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070412/06468784/attachment.sig>


More information about the kde-core-devel mailing list