On Sat, 10 Feb 2001 14:36:47 +0100, "Ing. Franz Glaser"

Quote:

>> Can anyone tell me what the precision is of standard pascals real data type?

>> I think it is 11 or 12 but not sure which.

>Are you sure that "Standard" Pascal defines the accuracy (resolution)

>of the "REAL" type, independent of the CPU/computer - implementation?

>Or is the "standard" now fixed to the IBM - PC and its

>derivatives? Hopefully not! ;-(

>Greetings

The _User Manual and Report_ entry for "the type real" says:

A value of type real is an element of the

IMPLEMENTATION-DEFINED subest of real numbers.

[Emphasis mine]

Cooper's _Standard Pascal_ says:

There are limits to the accuracy with which mathematical reals are

represented within computers, as well as bounds on their magnitude;

thus type /real/ is an IMPLEMENTATION-DEFINED subset of the real

numbers. [Emphasis mine again]

Sounds to me like "standard pascal" doesn't have much to say on the

precision of any actual implementation of type real.

But I fear you may be correct that "standard" now means PC, and likely

a Borland dialect at that.

Stephen Posey