Contents

2.7 DIM_FLOAT package

It was convenient to instantiate the FLOAT_UNITS package for the predefined types float and STANDARD_INTEGERS.Integer_32 and put it in the program library. I called this instantiation DIM_FLOAT. It is found in Listing 5. The Meridian AdaVantage version 2.1 refused to instantiate Integer_type for 32 bit integers, so I use the version shown in Listing 6 on the Meridian compiler.


Contents | Next ...