NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Single Structure

Represents a four-byte, single precision, floating point number.

Object
   ValueType
      Single

[Visual Basic]
Public Structure Single
   Implements IComparable, IFormattable, IConvertible
[C#]
public struct Single : IComparable, IFormattable, IConvertible
[C++]
public __value struct Single : public IComparable, IFormattable,
   IConvertible

[JScript] In JScript, you can use the structures in the NGWS frameworks, but you cannot define your own.

Remarks

Single is a value type that can represent numbers in the range negative 3.402823E38 through positive 3.402823E38, inclusive. The Single type represents single precision 32-bit IEEE 754 value. The Common Language Specification (CLS) supports primitive types, including Single.

This class provides some basic coercions:

These widening coercions result in no loss in precision of magnitude. Note that programming languages are free to provide coercions that extend or differ from these.

Single provides methods for dealing with PositiveInfinity and NegativeInfinity and expressions that evaluate to not a number (NaN).

Requirements

Namespace: System

Assembly: mscorlib.dll

See Also

Single Members | System Namespace | IComparable | IFormattable | IConvertible