Page MenuHomePhabricator

Add fenv.h header

Authored by EricWF on Feb 4 2019, 6:09 PM.



Some implementations of fenv.h use macros to define the functions they provide. This can cause problems when std::fegetround() is spelled in source.

This patch adds a fenv.h header to libc++ for the sole purpose of turning those macros into real functions.

Diff Detail

rCXX libc++

Event Timeline

EricWF created this revision.Feb 4 2019, 6:09 PM

Gentle ping.

rsmith accepted this revision.Feb 11 2019, 3:37 PM


This revision is now accepted and ready to land.Feb 11 2019, 3:37 PM
Closed by commit rCXX353767: Add fenv.h header (authored by EricWF, committed by ). · Explain WhyFeb 11 2019, 3:46 PM
This revision was automatically updated to reflect the committed changes.