Changeset 41445 in webkit for trunk/JavaScriptCore/runtime/NumberConstructor.cpp
- Timestamp:
- Mar 5, 2009, 12:05:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/NumberConstructor.cpp
r40046 r41445 69 69 } 70 70 71 JSValuePtr numberConstructorNaNValue(ExecState* exec, const Identifier&, const PropertySlot&)71 static JSValuePtr numberConstructorNaNValue(ExecState* exec, const Identifier&, const PropertySlot&) 72 72 { 73 73 return jsNaN(exec); 74 74 } 75 75 76 JSValuePtr numberConstructorNegInfinity(ExecState* exec, const Identifier&, const PropertySlot&)76 static JSValuePtr numberConstructorNegInfinity(ExecState* exec, const Identifier&, const PropertySlot&) 77 77 { 78 78 return jsNumber(exec, -Inf); 79 79 } 80 80 81 JSValuePtr numberConstructorPosInfinity(ExecState* exec, const Identifier&, const PropertySlot&)81 static JSValuePtr numberConstructorPosInfinity(ExecState* exec, const Identifier&, const PropertySlot&) 82 82 { 83 83 return jsNumber(exec, Inf); 84 84 } 85 85 86 JSValuePtr numberConstructorMaxValue(ExecState* exec, const Identifier&, const PropertySlot&)86 static JSValuePtr numberConstructorMaxValue(ExecState* exec, const Identifier&, const PropertySlot&) 87 87 { 88 88 return jsNumber(exec, 1.7976931348623157E+308); 89 89 } 90 90 91 JSValuePtr numberConstructorMinValue(ExecState* exec, const Identifier&, const PropertySlot&)91 static JSValuePtr numberConstructorMinValue(ExecState* exec, const Identifier&, const PropertySlot&) 92 92 { 93 93 return jsNumber(exec, 5E-324);
Note:
See TracChangeset
for help on using the changeset viewer.