Skip to content

Latest commit

 

History

History
117 lines (77 loc) · 3.04 KB

CHANGELOG.md

File metadata and controls

117 lines (77 loc) · 3.04 KB

Changelog

Version 0.8.3

  • Fix no_std builds

Version 0.8.2

  • Use custom serde trait implementations
  • Add to_f64 to the ToPrimitive implementation. (Thanks: apelloni)
  • Fix powf for negative values. (Thanks: apelloni)

Version 0.8.1

  • Re-enable use of std::mul_add if the std feature is enabled (except on MinGW).

Version 0.8

  • Always use libm functions.
  • math_funcs feature no longer requires std.
  • TwoFloat is now #[repr(C)].

Version 0.7

  • Support no_std builds. (Thanks: joseluis)

Version 0.6.1

  • Re-enable MinGW support via libm.

Version 0.6

  • Add const constructor from_f64. (Thanks: joseluis)
  • Breaking change: remove MinGW support due to incorrect fma implementation
  • Breaking change: fix definition of no_overlap to match definition 1.4 in Joldes et al. (2017).
  • Breaking change: Correct values of MIN and MAX constants.

Version 0.5

  • Add operator overloads for &f64.
  • Breaking change: use serde as the feature flag name.
  • Breaking change: use helper struct for Serde serialization.
  • Integrate with num_traits crate.
  • Internal: use hexf to specify constants.

Version 0.4.1

  • Internals now checked with clippy.

Version 0.4.0

  • Breaking change: update error handling to make it more future-proof.

Version 0.3.1

  • Support Default trait.

Version 0.3

  • Breaking change: add specific implementations for exp2 and log2 functions.
  • Breaking change: update formatting, support exponential formats and precision specifiers.
  • Add optional support for serde (feature serde_support).
  • Add conversions to/from i128 and u128.
  • Mathematical functions are optional but enabled by default (feature "math_funcs").

Version 0.2.2

  • Remove debugging code accidentally left in no_overlap function.

Version 0.2.1

  • Add exp_m1, ln_1p functions.

Version 0.2

  • Breaking change: prefer value-like arguments to improve ergonomics.
  • Breaking change: use ConversionError type to represent failure of try_into.
  • Breaking change: replace try_new and data with conversions to/from (f64, f64) and [f64; 2].
  • Add NAN constant.

Version 0.1.4

  • Add copysign, hypot, round, signum functions.
  • Add trigonometric functions cos, sin, sin_cos, tan and inverse functions asin, acos, atan, atan2.
  • Add Euclidean division and remainder functions div_euclid, rem_euclid.

Version 0.1.3

  • Add hi and lo functions to extract individual words.
  • Add angle conversion functions: to_degrees, to_radians.
  • Add hyperbolic functions cosh, sinh, tanh and inverse functions acosh, asinh, atanh.
  • Update is_valid method to check for overlapping representations.
  • Bugfix in integer truncation where low word fraction was zero.

Version 0.1.2

  • Add functions: cbrt, exp, exp2, ln, log, log2, log10, powf.
  • Add mathematical constants.

Version 0.1.1

  • Add functions: recip, max, min, fract, trunc, ceil, floor, sqrt, powi.
  • Add % and %= operators.

Version 0.1

  • Initial release.