SHAZAM Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This program is using the A format on the FORMAT statement to READ and WRITE when only the F format should be used for this.

To get more digits - you have the right idea. i.e. save the coefficients, then print with a big format like F(25.15). Numbers stored internally are at a higher precision than those printed with the default output formatting.

click to hide/show revision 2
Clarify last sentence

This program is using the A format on the FORMAT statement to READ and WRITE when only the F format should be used for this.

To get more digits - you have the right idea. i.e. save the coefficients, then print with a big format like F(25.15). Numbers are stored internally are at a higher either double or quad precision than those printed with but the default output formatting.formatting only displays the first few digits.