Real128 Data Type

Holds signed 128-bit (16-byte) IEEE floating-point values in the range −1.189731495357231765085759326628007E+4932 to −3.362103143112093506262677817321753E−4932 for negative values and 3.362103143112093506262677817321753E−4932 to 1.189731495357231765085759326628007E+4932 for positive values.


The Real128 data type provides the largest and smallest possible magnitudes for a number. As the name implies, Real128 is two times the size of Real64 and four times the size of Real32.

Be aware that floating-point data types are incapable of representing many values exactly. Operations such as comparisons can produce unexpected results. See Troubleshooting Data Types for more information.
Default value
When you declare a variable of type Real128 and leave it uninitialized,, its value defaults to zero (0.0).
Trailing zeros
The floating-point data types have no internal means of representing trailing 0 characters following the decimal point. This means that numbers such as 1.4200 and 1.42 represent the same value. If you must display trailing zeros, the number will need to be formatted.
Type characters
Real128 has no type characters.

Shared methods and properties

Real128.Bits As UInt
Returns the number of available bits. This is always 128.
Real128.Epsilon As Real128
Returns the smallest difference between two values.
Real128.IsNaN(x As Real128) As Boolean
Returns true if the value of x is not a number. Division by zero can cause this result.
Real128.Max As Real128
Returns the maximum positive value.
Real128.Min As Real128
Returns the minimum positive value.


Dim foo As Real128

See also