Skip to content

v1.0.2

Choose a tag to compare

@VoidStarKat VoidStarKat released this 13 Jan 04:40

Changed

  • Update behavior of is_sign_positive and is_sign_negative to match the IEEE754 conforming
    behavior of the standard library since Rust 1.20.0. Fixes #3, by @tspiteri.
  • Small optimization on is_nan and is_infinite from @tspiteri.

Fixed

  • Fix comparisons of +0 to -0 and comparisons involving negative numbers. Fixes #2, by @tspiteri.
  • Fix loss of sign when converting f16 and f32 to f16, and case where f64 NaN could be
    converted to f16 infinity instead of NaN. Fixes #5, by @tspiteri.