Crate float_polyfills

Crate float_polyfills 

Source
Expand description

Drop-in no_std-compatible polyfills for various f32 and f64 methods. Supports:

  • abs
  • acos
  • asin
  • atan
  • atan2
  • ceil
  • copysign
  • cos
  • exp
  • floor
  • hypot
  • ln
  • log2
  • log10
  • mul_add
  • powf
  • powi
  • recip
  • round
  • sin
  • sin_cos
  • sqrt
  • tan
  • trunc

Traitsยง

F32Polyfill
Polyfills for various std-only f32 methods.
F64Polyfill
Polyfills for various std-only f64 methods.