www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Recommended way to access numeric_limits epsilon()

reply "Timo =?UTF-8?B?V2VzdGvDpG1wZXIi?= <timo.westkamper gmail.com> writes:
What is the recommended way to access the equivalent of 
numeric_limits epsilon() in D? I am searching especially for the 
double version.

http://www.cplusplus.com/reference/std/limits/numeric_limits/
Apr 24 2012
next sibling parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Tue, Apr 24, 2012 at 08:36:34PM +0200,
digitalmars-d-learn-bounces puremagic.com wrote:
 What is the recommended way to access the equivalent of
 numeric_limits epsilon() in D? I am searching especially for the
 double version.
 
 http://www.cplusplus.com/reference/std/limits/numeric_limits/

Check this page: http://dlang.org/property.html under "Properties for Floating Point Types". --T
Apr 24 2012
prev sibling parent "Timo =?UTF-8?B?V2VzdGvDpG1wZXIi?= <timo.westkamper gmail.com> writes:
On Tuesday, 24 April 2012 at 18:48:15 UTC, H. S. Teoh wrote:
 On Tue, Apr 24, 2012 at 08:36:34PM +0200, 
 digitalmars-d-learn-bounces puremagic.com wrote:
 What is the recommended way to access the equivalent of
 numeric_limits epsilon() in D? I am searching especially for 
 the
 double version.
 
 http://www.cplusplus.com/reference/std/limits/numeric_limits/

Check this page: http://dlang.org/property.html under "Properties for Floating Point Types". --T

Thanks a lot.
Apr 24 2012