DelphiBasics
  Home  |  Delphi .net Home  |  System NameSpace
 .NET Framework
 Namespace References

 System
 
  Array  Class 
  Boolean  Structure 
  Buffer  Class 
  Byte  Structure 
  Char  Structure 
  Console  Class 
  Convert  Class 
  DateTime  Structure 
  DayOfWeek  Enumeration 
  Decimal  Structure 
  Double  Structure 
  Enum  Class 
  Environment  Class 
  Exception  Class 
  ICloneable  Interface 
  Int16  Structure 
  Int32  Structure 
  Int64  Structure 
  Math  Class 
  Object  Class 
  OperatingSystem  Class 
  Random  Class 
  SByte  Structure 
  Single  Structure 
  String  Class 
  TimeSpan  Structure 
  UInt16  Structure 
  UInt32  Structure 
  UInt64  Structure 
  Version  Class 
 System.Collections
 System.Globalization
 System.IO

 Articles and Tutorials

 Overview of .NET
 Delphi and .NET
 Winform Applications
 ASP .Net Applications
 php Web Services
 Framework Collections
 Framework String Handling
 Framework Files and Folders


 
 
  System.Single Structure
 
 Description
The Single structure holds floating point numbers in the range +/-3.402823e38, plus the following extreme values :
 
PositiveInfinity Infinity (N/0)
NegativeInfinity -Infinity (-N/0)
NaN Not a number (0/0)

 
Single complies with IEEE standards for calculations.
 
Unlike the Decimal structure, rounding can occur with Single value calculations.
 
Single structures are created dynamically from their definition - there is no Create constructor. The native delphi Single type maps to System.Single.
 Methods
CompareTo  Compares the current Single value to another
Equals  Determines if the current Single equals another
IsInfinity  Returns true if a a given Single is +/- infinite in value
IsNaN  Returns true if a a given Single has no valid value
IsNegativeInfinity  Returns true if a a given Single is - infinite in value
IsPositiveInfinity  Returns true if a a given Single is + infinite in value
Parse  Converts a string representation of a Single into a Single value
ToString  Converts the current Single value to a string

 Fields
Epsilon  Single  Smallest non-zero +ve value : 4.94065645841247e-324
MinValue  Single  Largest negative value : -3.402823e38
MaxValue  Single  Largest negative value : 3.402823e38
NaN  Single  Not a number : 0/0
NegativeInfinity  Single  -Infinity
PositiveInfinity  Single  Infinity

 Microsoft MSDN links
 
System
System.single
 
Delphi Programming © Neil Moffatt . All rights reserved.  |  Home Page