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 -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8