Class VBSingleType
A VBNumericType<T> representing the Single data type.
public record VBSingleType : VBNumericType<float>, IEquatable<VBType>, IEquatable<VBIntrinsicType>, IEquatable<VBNumericType>, IEquatable<VBNumericType<float>>, IFloatingPointNumericType, INumericType, IEquatable<VBSingleType>
- Inheritance
-
VBSingleType
- Implements
- Inherited Members
Remarks
The managed type of a value of this data type is float.
👉 Implements IFloatingPointNumericType.
Constructors
VBSingleType()
A VBNumericType<T> representing the Single data type.
public VBSingleType()
Remarks
The managed type of a value of this data type is float.
👉 Implements IFloatingPointNumericType.
Fields
SignificantIntegerDigits
The number of significant digits retained in a String representation of a value of this type.
public const int SignificantIntegerDigits = 7
Field Value
Properties
DefaultValue
Gets the default value for this data type.
public override VBTypedValue DefaultValue { get; }
Property Value
Remarks
⚠️ Derived types must back the implementation of this property with a thread-safe private static readonly Lazy<T>.
Failure to do so would lock up the static context initialization of the StaticSymbol symbols.
ManagedMaxValue
Gets the maximum representable managed (.net) value for this data type.
public override double ManagedMaxValue { get; }
Property Value
ManagedMinValue
Gets the minimum representable managed (.net) value for this data type.
public override double ManagedMinValue { get; }
Property Value
MaxValue
Gets the maximum representable value for this data type.
public static VBSingleValue MaxValue { get; }
Property Value
MinValue
Gets the minimum representable value for this data type.
public static VBSingleValue MinValue { get; }
Property Value
Size
The size (in bytes) of a value of this type.
public override int Size { get; }
Property Value
Remarks
Determines the length of the allocated memory space for a value of this type.
TypeInfo
The Single data type.
public static VBSingleType TypeInfo { get; }
Property Value
Zero
Gets the value 0 (zero) representation of this data type.
public static VBSingleValue Zero { get; }