Changeset 23892 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Jun 29, 2007, 2:36:10 PM (18 years ago)
- Location:
- trunk/JavaScriptCore/kjs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/value.cpp
r18715 r23892 129 129 } 130 130 131 float JSValue::toFloat(ExecState* exec) const 132 { 133 return static_cast<float>(toNumber(exec)); 134 } 135 131 136 bool JSCell::getNumber(double &numericValue) const 132 137 { -
trunk/JavaScriptCore/kjs/value.h
r23470 r23892 102 102 uint32_t toUInt32(ExecState*, bool& ok) const; 103 103 uint16_t toUInt16(ExecState*) const; 104 105 // Floating point conversions. 106 float toFloat(ExecState*) const; 104 107 105 108 // Garbage collection.
Note:
See TracChangeset
for help on using the changeset viewer.