BUG: fmod doesn't raise FP exceptions for domain error
Author: mszoekCreated Aug 15, 2026Updated Aug 15, 2026
LabelsbuglibSystem
As it says on the tin. The `fmod` function in libsystem_m should throw an exception for infinity or divide by zero, per the man page. It currently sets errno = EDOM (correct) and returns NaN instead.
Source: ravynsoft/ravynos