← Back to events
ActiveAIRelease

trunk/25a44754189251b6259196617f14a002a4d87d15: [Special] Improve accuracy of erfinv near 1 (#201187)

What happened

By using erfc instead of erf for the approximation and adding 3rd step of Newton-Raphson approximation for double Apply the same fix to MPS. Metal erfinv never had Newton-Raphson refinement: #101507 ported the CPU rational approximation but dropped the correction steps (Metal had no erf at the time), leaving it accurate to only ~8e-6 relative (~67 fp32 eps), which was masked by the 1e-4 float32 OpInfo tolerance. CUD…

Summary assembled by rule from the sources below

Why it's spreading

Sources