| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 206c668 commit e352a4e
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -582,7 +582,7 @@ void ArrayBufferViewContents<T, S>::ReadValue(v8::Local<v8::Value> buf) { | |||
| 582 | 582 | } | |
| 583 | 583 | } | |
| 584 | 584 | ||
| 585 | - // ECMA262 20.1.2.5 | ||
| 585 | + // ECMA-262, 15th edition, 21.1.2.5. Number.isSafeInteger | ||
| 586 | 586 | inline bool IsSafeJsInt(v8::Local<v8::Value> v) { | |
| 587 | 587 | if (!v->IsNumber()) return false; | |
| 588 | 588 | double v_d = v.As<v8::Number>()->Value(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -217,7 +217,7 @@ void DumpJavaScriptBacktrace(FILE* fp); | |||
| 217 | 217 | #define UNREACHABLE(...) \ | |
| 218 | 218 | ERROR_AND_ABORT("Unreachable code reached" __VA_OPT__(": ") __VA_ARGS__) | |
| 219 | 219 | ||
| 220 | - // ECMA262 20.1.2.6 Number.MAX_SAFE_INTEGER (2^53-1) | ||
| 220 | + // ECMA-262, 15th edition, 21.1.2.6. Number.MAX_SAFE_INTEGER (2^53-1) | ||
| 221 | 221 | constexpr int64_t kMaxSafeJsInteger = 9007199254740991; | |
| 222 | 222 | ||
| 223 | 223 | inline bool IsSafeJsInt(v8::Local<v8::Value> v); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments