Adriaan van Os wrote:
In the case of more common functions such as trig stuff, does fp.p override the Pascal built-ins?
If they have the same name and (in case of routines declared in gpc.pas) you import your module after gpc.pas, then yes.
We took some care to circumvent conflicts in the Mac interfaces, e.g. we disabled the 'pow' keyword
Did you do it just to be sure, or were there actually problems when not doing so (and overriding `pow')?
lanceboyle@bluebottle.com wrote:
Thanks--very helpful. BTW, doesn't Ada have a (portable) type for the longest native floating point format supported on each processor? That seems rather useful.
GPC has LongestReal for the longest available real type. Portable ... well, it's defined everywhere, but of course, it's not the same type everywhere (I suppose the same would go for Ada), so care is required when using it for data exchange or such.
Frank