The current implementation of maps uses double to represent real numbers. This can be a problem when working with big numbers (main application of ModelicaCC), where the distribution of floating point numbers is sparse. With such numbers, the application of a map to a domain leads to an incorrect result.
Suggestion: use fractional numbers. Check if BOOST supports them.
The current implementation of maps uses double to represent real numbers. This can be a problem when working with big numbers (main application of ModelicaCC), where the distribution of floating point numbers is sparse. With such numbers, the application of a map to a domain leads to an incorrect result.
Suggestion: use fractional numbers. Check if BOOST supports them.