From kde-devel Mon Dec 18 09:52:07 2000 From: Peter Putzer Date: Mon, 18 Dec 2000 09:52:07 +0000 To: kde-devel Subject: Re: std::numeric_limits...? X-MARC-Message: https://marc.info/?l=kde-devel&m=97713321202962 On Mon, 18 Dec 2000, Werner Trobin wrote: > Hi! > > AFAIK (C++ Programming Language, Third Ed., p. 658) there > *should* be something like 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 <<