-- +---------------------------+ -- | Maths Library | -- | designer : Tim Pagden | -- | opened: 19 Nov 1994 | -- +---------------------------+ -- Function: -- -- -- Synthesis script: read -f vhdl maths.pkg package maths_class is -- single type is an alias for real to allow both single precision -- and double precision floating point types (when double becomes -- available) - if code uses double but the simulator doesn't support -- it - you need to have some helper functions for double types subtype single is real range -1.0E38 to 1.0E38; subtype double is real; end maths_class;