[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: std::numeric_limits...?
From:       Peter Putzer <pputzer () edu ! uni-klu ! ac ! at>
Date:       2000-12-18 9:52:07
[Download RAW message or body]

On Mon, 18 Dec 2000, Werner Trobin wrote:

> Hi!
> 
> AFAIK (C++ Programming Language, Third Ed., p. 658) there
> *should* be something like <limits> which holds some nifty
> templates telling you stuff like the numeric limits of int,
> float, double (I'm interested in this double stuff),...
> 
> As this is not available on gcc-2.95.2 here, and as I've
> found it in float.h I wanted to know how safe it is to
> assume it's there on all supported platforms. ;)
> Do I need configure checks?

From previous discussions I'd say you should use the C-stdlib macros
instead of C++'s std::numeric_limits<>, the latter is not supported on gcc
yet...

bye,
Peter

 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic