Re: Recommended way to access numeric_limits epsilon()

2012-04-24 Thread Timo Westkämper

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-boun...@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.


Re: Recommended way to access numeric_limits epsilon()

2012-04-24 Thread H. S. Teoh
On Tue, Apr 24, 2012 at 08:36:34PM +0200, 
digitalmars-d-learn-boun...@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