TR1 Math Special Functions

Benjamin Kosnik bkoz@redhat.com
Mon Feb 5 21:43:00 GMT 2007


Hi Ed!

Great work: glad to see you slugging away at this.

I think it's past time for this to go in to mainline. I'm hoping that 
this drop (and the progress since the last drop) will make Paolo more 
amenable.

;)

> 3. For the inevitable numeric constants like pi ans such I used a class analogous
>    to numeric_limits that cast long double literals.  IMHO I think the C++ standards
>    committee (LWG) could do worse than to consider such a replacement to math.h M_PI, etc.

I like this idea. Was this considered for C++98? You could consider 
putting this into ext/constants or somesuch.

-benjamin



More information about the Libstdc++ mailing list