Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1008)

Unified Diff: runtime/lib/double.cc

Issue 11227042: isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/lib/double.cc
diff --git a/runtime/lib/double.cc b/runtime/lib/double.cc
index a6da65b9ba64f0689994cfbdf71168297a9dda33..9cbb195d3c05827dc5b811f047e7821abbcc36ca 100644
--- a/runtime/lib/double.cc
+++ b/runtime/lib/double.cc
@@ -257,19 +257,19 @@ DEFINE_NATIVE_ENTRY(Double_toStringAsPrecision, 2) {
}
-DEFINE_NATIVE_ENTRY(Double_isInfinite, 1) {
+DEFINE_NATIVE_ENTRY(Double_getIsInfinite, 1) {
const Double& arg = Double::CheckedHandle(arguments->At(0));
return Bool::Get(isinf(arg.value()));
}
-DEFINE_NATIVE_ENTRY(Double_isNaN, 1) {
+DEFINE_NATIVE_ENTRY(Double_getIsNaN, 1) {
const Double& arg = Double::CheckedHandle(arguments->At(0));
return Bool::Get(isnan(arg.value()));
}
-DEFINE_NATIVE_ENTRY(Double_isNegative, 1) {
+DEFINE_NATIVE_ENTRY(Double_getIsNegative, 1) {
const Double& arg = Double::CheckedHandle(arguments->At(0));
// Include negative zero, infinity.
return Bool::Get(signbit(arg.value()) && !isnan(arg.value()));

Powered by Google App Engine
This is Rietveld 408576698