1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Extra POSIX/ANSI routines for Win32 when using Visual Studio C++. Please
6 // refer to The Open Group Base Specification for specification of the correct
7 // semantics for these functions.
8 // (http://www.opengroup.org/onlinepubs/000095399/)
10 #ifndef V8_BASE_WIN32_MATH_H_
11 #define V8_BASE_WIN32_MATH_H_
14 #error Wrong environment, expected MSVC.
17 // MSVC 2013+ provides implementations of all standard math functions.
30 int isfinite(double x);
33 int isless(double x, double y);
34 int isgreater(double x, double y);
35 int fpclassify(double x);
36 int signbit(double x);
40 #endif // _MSC_VER < 1800
42 #endif // V8_BASE_WIN32_MATH_H_