Re: Null<double> and arithmetics
Posted by Luigi Ballabio-4 on May 07, 2002; 4:33am
URL: http://quantlib.414.s1.nabble.com/Null-double-and-arithmetics-tp2040p2043.html
At 04:50 PM 5/5/02 -0500, Vadim Ogranovich wrote:
>Just want to make a suggestion. Currently
>double x = Null<double>() * 0.01;
>produces a valid double, which is confusing (I ran into it when I read
>interest rates in %% and then converted to non-percent numbers).
>
>I heard that there is a IEEE standard + libraries for things like NaN, Inf,
>etc. It would be nice if Null<numeric> conform to that standard.
It would indeed.
Does anybody have any insight into this? Any URL?
Bye,
Luigi