HomePhabricator

Add fenv.h header

Authored by EricWF on Feb 11 2019, 3:47 PM.

Description

Add fenv.h header

Summary:
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.

Reviewers: rsmith, mclow.lists, ldionne

Reviewed By: rsmith

Subscribers: mgorny, christof, libcxx-commits

Differential Revision: https://reviews.llvm.org/D57729

llvm-svn: 353767

Details

Committed
EricWFFeb 11 2019, 3:47 PM
Reviewer
rsmith
Differential Revision
D57729: Add fenv.h header
Parents
rG5906a6591cdc: Be conservative about unordered accesses for the moment
Branches
Unknown
Tags
Unknown