stencillogic / astro-float

Arbitrary precision floating point numbers library
MIT License
101 stars 4 forks source link

Add functions for next_up() and next_down() values. #30

Open stencillogic opened 5 months ago

stencillogic commented 5 months ago

Implement functions similar to next_up and next_down (including the behaviour with regard to NaN, Inf, and other special cases) for BigFloat type.

pub fn next_up(self) -> BigFloat
pub fn next_down(self) -> BigFloat