Ignore:
Timestamp:
Feb 26, 2008, 3:33:49 AM (17 years ago)
Author:
イグトランス (egtra)
Message:

StreamReaderの実装開始。
Stringの+演算子で右辺がNullのときに起こるアクセス違反を回避。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/Classes/ActiveBasic/Math/Math.ab

    r289 r426  
    4646
    4747Function 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
    5049    IsNaN = False
    5150    If (p[1] And &H7FF00000) = &H7FF00000 Then
     
    103102    Dim s = 0 As DWord
    104103    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
    107105    p[0] = 0
    108106    p[1] = &h7FF00000 Or s
Note: See TracChangeset for help on using the changeset viewer.