Starting from the existing fmax{,f,l} functions I've added the fmaximum family, which handles NaN according to the newest standard (propagating it).
This commit is a PoC for GSoC.
Differential D55834
lib/msun: Added fmaximum and fminimum family. Tests and man page Authored by jesuscblazquez_gmail.com on Thu, Mar 12, 10:23 PM. Tags Referenced Files
Details
Starting from the existing fmax{,f,l} functions I've added the fmaximum family, which handles NaN according to the newest standard (propagating it). This commit is a PoC for GSoC. I've used fmaxmin_test.c as a base, adapting it to the new functions.
Diff Detail
Event TimelineComment Actions Looks pretty reasonable, though I'll let Steve Kargl have the last word.
Comment Actions Sorry for the delay, exam season is rough this year, but once I'm done I will follow up with the fminimum and man pages Comment Actions This looks pretty good. I'll add a cross reference to math(3) on commit. Will test a bit more and then land this patch set.
Comment Actions Two changes will be made before landing this:
For both changes I have sent a patch to the author to review. Will land afterwards. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||