Title: [199870] trunk/Source/_javascript_Core
- Revision
- 199870
- Author
- da...@apple.com
- Date
- 2016-04-21 23:07:32 -0700 (Thu, 21 Apr 2016)
Log Message
Follow-on to the build fix.
* runtime/MathCommon.h: Use the C++ std namespace version of the
frexp function too.
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (199869 => 199870)
--- trunk/Source/_javascript_Core/ChangeLog 2016-04-22 05:56:39 UTC (rev 199869)
+++ trunk/Source/_javascript_Core/ChangeLog 2016-04-22 06:07:32 UTC (rev 199870)
@@ -1,3 +1,10 @@
+2016-04-21 Darin Adler <da...@apple.com>
+
+ Follow-on to the build fix.
+
+ * runtime/MathCommon.h: Use the C++ std namespace version of the
+ frexp function too.
+
2016-04-21 Joonghun Park <jh718.p...@samsung.com>
[JSC] Fix build break since r199866. Unreviewed.
Modified: trunk/Source/_javascript_Core/runtime/MathCommon.h (199869 => 199870)
--- trunk/Source/_javascript_Core/runtime/MathCommon.h 2016-04-22 05:56:39 UTC (rev 199869)
+++ trunk/Source/_javascript_Core/runtime/MathCommon.h 2016-04-22 06:07:32 UTC (rev 199870)
@@ -62,7 +62,7 @@
return Nullopt;
int exponent;
- if (frexp(constant, &exponent) != 0.5)
+ if (std::frexp(constant, &exponent) != 0.5)
return Nullopt;
// Note that frexp() returns the value divided by two
@@ -74,7 +74,7 @@
if (exponent == 1023)
return Nullopt;
- double reciprocal = ldexp(1, -exponent);
+ double reciprocal = std::ldexp(1, -exponent);
ASSERT(std::isnormal(reciprocal));
ASSERT(1. / constant == reciprocal);
ASSERT(constant == 1. / reciprocal);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes