Skip to content

SFPI Update

Latest

Choose a tag to compare

@nathan-TT nathan-TT released this 15 Jul 12:23
  • Added DataLayout members LO16 and HI16
  • Added vFloat polynomial (vFloat, {vFloat,float} coeff0, {vFloat,float} coeff1, ...) polynomial evaluator.
  • Added vUInt {min,max} (vUInt, unsigned) functions
  • Added vUInt clamp (vUInt, unsigned, unsigned) function
  • Added vFloat ldexp (vFloat, {vInt,int} scale}, LdexpMode = Ldexp::Correct) scaling functions. Alternative is Ldexp::Fast, which can be 1 cycle faster at the expense of not dealing with exponent overflow or underflow.
  • Added impl_::FloatInt round (vFloat) round to nearest int. The FloatInt object imolicitly converts to vFloat or vInt, depending on which result type you require. Or can be used in a structured binding auto [f, i] = ... to get both results.
  • Simplicification of an internal compiler optimization.