Ada Programming/Libraries/Ada.Numerics.Generic Complex Types
The generic package Ada.Numerics.Generic_Complex_Types defines complex type for a defined floating point type. Being generic it can not only be used for predefined floating point types but also for any user defined floating type.
There is an extensive usage guide in Ada Programming/Mathematical calculations. Here the relevant extract:
- Ada Programming
- Ada Programming/Libraries
- Ada Programming/Mathematical calculations#Complex_arithmethic