Welcome to myCobol.ovh Monday, 29 September 2025, 08:25

floating point
Category Syntax
Subject Cobol
A format for representing numbers in which a real number is represented by a pair of distinct numerals. In a floating-point representation, the real number is the product of the fixed-point part (the first numeral) and a value obtained by raising the implicit floating-point base to a power denoted by the exponent (the second numeral). For example, a floating-point representation of the number 0.0001234 is 0.1234 -3, where 0.1234 is the mantissa and -3 is the exponent.
Submitted by remy
Created on Sunday, 07 November 2021, 02:48

Back to Glossary