Boost logo

Boost :

From: Paul A. Bristow (boost_at_[hidden])
Date: 2001-09-13 12:41:18


Yes please provide your work/ideas on this so far.

Other contributions/views?

Paul

PS This looks a minor issue, but I feel it is cruical to
making widespread use of using the NaN etc parts of the IEEE spec.

Dr Paul A Bristow, hetp Chromatography
Prizet Farmhouse
Kendal, Cumbria
LA8 8AB UK
+44 1539 561830
Mobile +44 7714 33 02 04
mailto:pbristow_at_[hidden]

> -----Original Message-----
> From: Fernando Cacciola [mailto:fcacciola_at_[hidden]]
> Sent: Wednesday, September 12, 2001 9:06 PM
> To: boost_at_[hidden]
> Subject: RE: [boost] Re: Math Functions

> I think this should be resolved in a separate numeric layer that
> should use
> compiler and platform switches in config to take care of implementation
> details.
>
> Something along the line:
>
> boost\numeric\numbers.hpp
> ~~~~~~~~~~~~~~~~~
>
> namespace boost {
> namespace numeric {
>
> // Use compiler and platform specifics switches to implement this.
> template<class T> bool is_nan ( T const& ) ;
>
>
> template<class T> bool is_inf ( T const& ) ;
>
> }
> }
>
> other general number handling functions, traits, etc.. could be
> added here.
>
> I can provide an initial interface in this layer, taken from my own stuff.
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk