Plan 9 from Bell Labs’s /n/sources/patch/applied/modf-nan/readme
Prevent infinite recursion when modf is called with NaN or Inf argument.