GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: update outdated references to spec sections · nodejs/node@e352a4e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • util-inl.h
    • util.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/util-inl.h‎

Copy file name to clipboardExpand all lines: src/util-inl.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ void ArrayBufferViewContents<T, S>::ReadValue(v8::Local<v8::Value> buf) {
582582
}
583583
}
584584

585-
// ECMA262 20.1.2.5
585+
// ECMA-262, 15th edition, 21.1.2.5. Number.isSafeInteger
586586
inline bool IsSafeJsInt(v8::Local<v8::Value> v) {
587587
if (!v->IsNumber()) return false;
588588
double v_d = v.As<v8::Number>()->Value();
Collapse file

‎src/util.h‎

Copy file name to clipboardExpand all lines: src/util.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ void DumpJavaScriptBacktrace(FILE* fp);
217217
#define UNREACHABLE(...) \
218218
ERROR_AND_ABORT("Unreachable code reached" __VA_OPT__(": ") __VA_ARGS__)
219219

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)
221221
constexpr int64_t kMaxSafeJsInteger = 9007199254740991;
222222

223223
inline bool IsSafeJsInt(v8::Local<v8::Value> v);

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.