Fix uses of std::nextafter on Android
authorMarcus Holland-Moritz <mhx@fb.com>
Fri, 24 Jun 2016 18:23:42 +0000 (11:23 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Fri, 24 Jun 2016 18:38:26 +0000 (11:38 -0700)
commitd27a9dbaf4f8c60c59bf321735bf8fa1e2476d40
tree286fbaa6c0fe7295407b6ddfeeeb3bcb3ae7d164
parent523ca0edb14fd73137660cc7f460cac59170b941
Fix uses of std::nextafter on Android

Summary:
On Android, std::nextafter isn't implemented. However, the C functions and
compiler builtins are still provided.

This change adds a portability abstraction as folly::nextafter.

Reviewed By: mzlee, yfeldblum

Differential Revision: D3478081

fbshipit-source-id: 54fec1ca8bdec24ba45d51e07020259fdbae61b4
folly/Conv.h
folly/Makefile.am
folly/portability/Math.h [new file with mode: 0644]