Skip to content

Universal v5.17.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 15:59
· 38 commits to main since this release
cb98dd8

[5.17.0] - 2026-11-14

Behaviour changes

  • fixpnt cordic::atan2/atan/hypot/polar run more iterations by default where rbits < (nbits + 4) / 2, and hypot is within 0.65 ulp there (was up to millions of ulps); sorn division returns tighter bounds where the exact bound is a lattice point; complex atanh near -1 and atan near i gain full precision; complex
    / compute in dd/qd whatever is included; dd/qd abs(-0) is +0, fma and underflowed products keep the IEEE zero sign (#2062)
  • native: native ulp(x) is a positive magnitude for negative x, finite at max(); checkNaN classifies every NaN payload; find_msb(long) is correct on LP64; fastipow((-2), 63) is INT64_MIN and overflow is never UB; universal_cast/universal_assign keep -0 (#2063)
  • quire: quire convert_to<float/double> is correctly rounded (was truncated to 53 bits), integral targets saturate, a NaN quire converts to NaR for posit targets; operands past either end of an asymmetric quire are rejected (throw guard) or dropped instead of being accepted and lost; quire min_scale()/max_scale() report the accumulator's ends; numeric_limits is specialized (#2064)
  • mixed-type operators between Universal types may return a different type: the operand type with the larger dynamic range wins over the one with more fraction bits (posit<32,2> + cfloat<32,8> is now cfloat<32,8>), and ties no longer depend on operand order (#2067)

Documentation

Fixed

  • CORDIC hypot iterations, tight sorn division, complex atanh near -1, dd/qd zero signs (#2062) by @Ravenwater
  • native: Find_msb(long) on LP64, NaN payloads, ulp and fastipow edges, setbit bounds, signed-zero universal_cast (#2063) by @Ravenwater
  • quire: Operand range from the accumulator's ends, correctly rounded convert_to, numeric_limits (#2064) by @Ravenwater
  • Mixed-type promote_t ranks by range, then precision, independent of operand order (#2067) by @Ravenwater