H (Hybrid) Language - v0.03, by Dr. Herong Yang
"real" Literals
This section describes 'real' literals
Literals for "real" data type are real numbers written in the commonly used format of 0.0, 3.14, 2.9979e8, ....
There are two ways to differentiate a "real" literal from an "integer" literal:
Examples of "real" literals are:
0.0; 3.14; 2.9979e8;
There are no "real" literals for negative real numbers. To enter a negative real number in the source code, you need to use a "real" "negation" operation expression as shown below:
-1.0; # "real" "negation" operation expression -3.14; # "real" "negation" operation expression
Table of Contents
"real" "subtraction" Operation
"real" "multiplication" Operation
"real" "exponentiation" Operation
"real" "greater-than" Operation
"real" "not-equal-to" Operation
"real" "greater-than-or-equal-to" Operation
"real" "less-than-or-equal-to" Operation
Inheritance - Object Attachments