![]() |
![]() ![]() ![]() |
From: [email protected] (Benedict A. Gomes) Date: 24 Feb 1998 07:36:39 GMT
In article <[email protected]>, Jean-Pierre Dussault A clean solution could be achieved with a module construct where the type is set for the whole module. I've come across similar situations. I usually manage to get around the problem since my usage of FLTs is somewhat layered, and I can isolate the upper layers from the lower, numeric layers.
Start by creating some basic classes that are parametrized around
You can then create different versions of these classes pre-parametrized.
i.e. one file might contain
Another file might contain: Using the module file you can then point to flt-version.sa or fltd-version.sa depending on what you wish to use for a particular compilation. You can do this quite conveniently with different module files. Boris will respond with details on a lower-level solution by defining the create routine for MY_FLOAT in a config file.
ben
|
Previous: |
![]() |
Next: |
![]() |