packageConstants
Package with constants
Information
This package provides often needed constants.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | eps | 1E-15 | Biggest number such that 1.0 + eps = 1.0 |
| Real | small | 1E-37 | Smallest number such that small and -small are representable on the machine |
| Real | pi | 2*Modelica.Math.asin(1.0) | Constant number pi, 3.14159265358979 |
Revisions
-
March 12, 2024, by Michael Wetter:
Changedsmallto 1E-37.
This is for Buildings, issue 3695. -
March 27, 2017, by Michael Wetter:
First implementation, based on the implementation of the Modelica Standard Library.