Appendix

E

Using Floating-Point Numbers

There are a few considerations you need to understand when using floating-point numbers. The first section discusses these general considerations. Refer to page E-5 and following for instructions on entering and displaying floating-point numbers.

Note

Floating-point capabilities are only supported on the 350 and 360 series CPUs,

Release 9 or later, or on all releases of CPU352.

Floating-Point Numbers

The programming software provides the ability to edit, display, store, and retrieve numbers with real values. Some functions operate on floating-point numbers. However, to use floating-point numbers with the programming software, you must have a 350 or 360 series CPU (see Note above). Floating-point numbers are represented in decimal scientific notation, with a display of six significant digits.

Note

In this manual, the terms “floating-point” and “real” are used interchangeably to describe the floating-point number display/entry feature of the programming software.

The following format is used. For numbers in the range 9999999 to .0001, the display has no exponent and up to six or seven significant digits. For example:

Entered

Displayed

Description

 

 

 

 

 

 

.000123456789

+.0001234567

Ten digits, six or seven significant.

 

 

 

–12.345e-2

–.1234500

Seven digits, six or seven significant.

 

 

 

1234

+1234.000

Seven digits, six or seven significant.

 

 

 

GFK-0467K

E-1

Page 296
Image 296
GE 90-30/20/Micro manual Floating-Point Numbers, Entered Displayed Description