Real

Navigation:  Language Reference > Types >

Real

Previous pageReturn to chapter overviewNext page

Signed 64 bit floating point number. The maximum representable number is 1.7976931348623158e+308. The minimum positive value unequal to zero is 2.2250738585072014e-308. If reals exceed this range during simulation, the numerical values window will display the values 1.#INF (positive infinite) or -1.#INF (negative infinite).

Example

real a = 0.0;

real b = 1.04e-31,c = -3198.023e-64;

real B[2,2] = [1.2,22.4;3.0e3,-4.023e-6];

 

Limitations

In practice, during simulation, real should not exceed 1e-100 .. 1e100 to prevent instability in the integration algorithms.