|
Boost : |
From: Martin Bonner (martin.bonner_at_[hidden])
Date: 2006-07-25 07:01:56
----Original Message----
From: Johan Råde
> template<class T> bool is_nan(T a)
> {
> return a != a;
> }
>
>
> 1. Do these implementations work an all platforms?
I believe is_nan is vunerable to over-eager optimizers for built-in types.
> 2. The category not-a-number can be divided into the sub-categories
> quite not-a-number and signalling not-a-number.
^^^^^
Should be "quiet". This error has continued throughout the email chain, so it is obviously not just a simple typo (or it is getting copy-and-pasted).
-- Martin Bonner Martin.Bonner_at_[hidden] Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ, ENGLAND Tel: +44 (0)1223 203894
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk