Thread overview | ||||||
---|---|---|---|---|---|---|
|
January 17, 2017 Where is floating point next{Up,Down}? | ||||
---|---|---|---|---|
| ||||
I can't find nextUp(x) and nextDown(x) described in https://dlang.org/d-floating-point.html Are these D1 only? Is there anything like it in D2/Phobos? |
January 17, 2017 Re: Where is floating point next{Up,Down}? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | On 01/17/2017 03:30 PM, Nordlöw wrote: > I can't find nextUp(x) and nextDown(x) described in > > https://dlang.org/d-floating-point.html > > Are these D1 only? Is there anything like it in D2/Phobos? Found'em! :) https://dlang.org/phobos/std_math.html#.nextUp Ali |
January 17, 2017 Re: Where is floating point next{Up,Down}? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On Tuesday, 17 January 2017 at 23:38:46 UTC, Ali Çehreli wrote:
> Found'em! :)
>
> https://dlang.org/phobos/std_math.html#.nextUp
Thanks!
|
January 18, 2017 Re: Where is floating point next{Up,Down}? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | On Tuesday, 17 January 2017 at 23:41:27 UTC, Nordlöw wrote: > On Tuesday, 17 January 2017 at 23:38:46 UTC, Ali Çehreli wrote: >> Found'em! :) >> >> https://dlang.org/phobos/std_math.html#.nextUp > > Thanks! (Shouts into the soundless void) https://github.com/pineapplemachine/mach.d/blob/master/mach/math/floats/neighbors.d |
Copyright © 1999-2021 by the D Language Foundation