Changeset 426 for trunk/Include/Classes/ActiveBasic/Math/Math.ab
- Timestamp:
- Feb 26, 2008, 3:33:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/ActiveBasic/Math/Math.ab
r289 r426 46 46 47 47 Function IsNaN(ByVal x As Double) As Boolean 48 Dim p As *DWord 49 p = VarPtr(x) As *DWord 48 Dim p = VarPtr(x) As *DWord 50 49 IsNaN = False 51 50 If (p[1] And &H7FF00000) = &H7FF00000 Then … … 103 102 Dim s = 0 As DWord 104 103 If sign Then s = (1 As DWord) << 31 105 Dim p As *DWord 106 p = VarPtr(GetInf) As *DWord 104 Dim p = VarPtr(GetInf) As *DWord 107 105 p[0] = 0 108 106 p[1] = &h7FF00000 Or s
Note:
See TracChangeset
for help on using the changeset viewer.