Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/math/families/inverse_trig/portable_f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ const F32_SIGN_MASK: i32 = i32::MIN;
const ASIN_SQRT_FALLBACK_BOUND_BITS: u32 = 0x3F7F_F000;

const FRAC_PI_2_HI: f32 = f32::from_bits(0x3FC9_0F80);
const FRAC_PI_2_LO: f32 = std::f32::consts::FRAC_PI_2 - FRAC_PI_2_HI;
const FRAC_PI_2_LO: f32 = core::f32::consts::FRAC_PI_2 - FRAC_PI_2_HI;
const FRAC_PI_4_HI: f32 = f32::from_bits(0x3F49_0F80);
const FRAC_PI_4_LO: f32 = std::f32::consts::FRAC_PI_4 - FRAC_PI_4_HI;
const FRAC_PI_4_LO: f32 = core::f32::consts::FRAC_PI_4 - FRAC_PI_4_HI;
const PI_HI: f32 = f32::from_bits(0x4049_0F80);
const PI_LO: f32 = std::f32::consts::PI - PI_HI;
const PI_LO: f32 = core::f32::consts::PI - PI_HI;

const TAN_PI_8: f32 = 0.414_213_57;
const TAN_3PI_8: f32 = 2.414_213_7;
Expand Down