aboutsummaryrefslogtreecommitdiff
path: root/cs-dotnet/src/gatsfloat.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cs-dotnet/src/gatsfloat.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/cs-dotnet/src/gatsfloat.cs b/cs-dotnet/src/gatsfloat.cs
index 9763855..1fe6c00 100644
--- a/cs-dotnet/src/gatsfloat.cs
+++ b/cs-dotnet/src/gatsfloat.cs
@@ -64,12 +64,12 @@ namespace Com.Xagasoft.Gats
64 throw new GatsException( GatsException.Type.PrematureEnd ); 64 throw new GatsException( GatsException.Type.PrematureEnd );
65 switch( (char)subType ) 65 switch( (char)subType )
66 { 66 {
67 case 'N': Value = -Double.NaN; break; 67 case 'N': Value = -Double.NaN; break;
68 case 'n': Value = Double.NaN; break; 68 case 'n': Value = Double.NaN; break;
69 case 'I': Value = Double.NegativeInfinity; break; 69 case 'I': Value = Double.NegativeInfinity; break;
70 case 'i': Value = Double.PositiveInfinity; break; 70 case 'i': Value = Double.PositiveInfinity; break;
71 case 'Z': Value = -0.0; break; 71 case 'Z': Value = -0.0; break;
72 case 'z': Value = 0.0; break; 72 case 'z': Value = 0.0; break;
73 } 73 }
74 } 74 }
75 else if( type == 'f' ) 75 else if( type == 'f' )