This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Weirdness with numeric_limits in new special functions
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Ed Smith-Rowland <3dw4rd at verizon dot net>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 12 Apr 2007 20:40:38 +0200
- Subject: Re: Weirdness with numeric_limits in new special functions
- References: <461E0356.9010909@suse.de> <461E37A5.6060005@verizon.net>
Hi Ed and thanks for quick replying,
The public functions in std::tr1: call these with floating point types
only.
Ok.
I think the errtol *is* a mistake because __eps / 8 will degenerate to
0. The errtol should wind up being rather larger than __eps.
It might be a good idea to block calling with integral _Tp somehow.
Actually, let me walk through the code and make sure what's going on.
Excellent. Take you time, but let's make sure everything is consistent.
In any case, for now I'm not going to fiddle with the special functions.
Paolo.