Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2006-07-06 11:40:08


Halleluhuh - please upload this to the Boost Vault - and keep a copy
incase the vault disappears.

Robert Ramey

Johan Råde wrote:
> Following a suggestion of Robert Ramey's, I have put together facets
> for writing and reading non-finite floating point numbers, such as
> infinity
> and nan, to text streams, in a consistent and portable way. This is
> useful when serializing to text archives, but should have other
> applications as well.
>
> I have attached a zip file. It contains three files:
>
> 1. the actual code: non_finite_num_facets.hpp
> 2. documentation: non_finite_num_facets_doc.txt
> 3. tests: non_finite_num_facets_test.cpp
>
> The code handles char and wchar_t. It handles float, double and long
> double.
>
> The code has been tested with VC++ 7.1 but should work with other
> compilers as well.
>
> Any feedback is wellcome.
>
> --Johan Råde (rade_at_[hidden])
>
>
>
>
>
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net