+
Point of view
ANY
expanded class REAL_32
Summary
Overview
exported features
Conversions:
  • zero: REAL_32
    Neutral element for "+" and "-".
  • one: REAL_32
    Neutral element for "*" and "/".
  • infix "~=" (other: REAL_32): BOOLEAN
    Is Current near equal to other.
  • hash_code: INTEGER_32
    The hash-code value of Current.
  • mantissa_bits: INTEGER_8
    Give the number of bits, corresponding to the mantissa, in the binary representation of the real number.
  • exponent_bits: INTEGER_8
    Give the number of bits, corresponding to the exponent, in the binary representation of the real number.
Conversions:
  • rounded: REAL_32
    Round to nearest integer away from zero.
  • floor: REAL_32
    Largest integral value no greater than Current.
  • ceiling: REAL_32
    Smallest integral value no smaller than Current.
Object Printing:
Maths functions:
  • sqrt: REAL_32
    Square root of Current.
  • sin: REAL_32
    Sine of Current.
  • cos: REAL_32
    Cosine of Current.
  • tan: REAL_32
    Tangent of Current.
  • asin: REAL_32
    Arc Sine of Current.
  • acos: REAL_32
    Arc Cosine of Current.
  • atan: REAL_32
    Arc Tangent of Current.
  • atan2 (x: REAL_32): REAL_32
    Arc Tangent of Current / x.
  • sinh: REAL_32
    Hyperbolic Sine of Current.
  • cosh: REAL_32
    Hyperbolic Cosine of Current.
  • tanh: REAL_32
    Hyperbolic Tangent of Current.
  • exp: REAL_32
    Exponential of Current.
  • log: REAL_32
    Natural Logarithm of Current.
  • log10: REAL_32
    Base-10 Logarithm of Current.
  • pow (e: REAL_32): REAL_32
    Current raised to the power of e (ANSI C pow).
Miscellaneous:
  • in_range (lower: REAL_32, upper: REAL_32): BOOLEAN
    Return True if Current is in range [lower..upper]
    See also min, max, compare.
  • compare (other: REAL_32): INTEGER_32
    If current object equal to other, 0 if smaller, -1; if greater, 1.
  • three_way_comparison (other: REAL_32): INTEGER_32
    If current object equal to other, 0 if smaller, -1; if greater, 1.
  • min (other: REAL_32): REAL_32
    Minimum of Current and other.
  • max (other: REAL_32): REAL_32
    Maximum of Current and other.
to_real_64: REAL_64
effective function
Explicit conversion to REAL_64.
to_real_extended: REAL_EXTENDED
effective function
Explicit conversion to REAL_EXTENDED.
to_real_80: REAL_EXTENDED
effective function
Explicit conversion to REAL_80.
to_real_128: REAL_EXTENDED
effective function
Explicit conversion to REAL_128.
force_to_integer_64: INTEGER_64
force_to_integer_32: INTEGER_32
force_to_integer_16: INTEGER_16
zero: REAL_32
constant attribute
Neutral element for "+" and "-".
one: REAL_32
constant attribute
Neutral element for "*" and "/".
infix "~=" (other: REAL_32): BOOLEAN
effective function
Is Current near equal to other.
hash_code: INTEGER_32
effective function
The hash-code value of Current.
mantissa_bits: INTEGER_8
constant attribute
Give the number of bits, corresponding to the mantissa, in the binary representation of the real number.
exponent_bits: INTEGER_8
constant attribute
Give the number of bits, corresponding to the exponent, in the binary representation of the real number.
is_equal (other: REAL_32): BOOLEAN
effective function
Is other attached to an object considered equal to current object?
prefix "+": REAL_32
effective function
Unary plus of Current.
prefix "-": REAL_32
Unary minus of Current.
infix "+" (other: REAL_32): REAL_32
Sum with other (commutative).
infix "-" (other: REAL_32): REAL_32
Result of substracting other.
infix "*" (other: REAL_32): REAL_32
Product by other.
infix "/" (other: REAL_32): REAL_32
Division by other.
infix "^" (e: INTEGER_32): REAL_32
Raise Current to e-th power (see also pow).
infix "<" (other: REAL_32): BOOLEAN
Is Current strictly less than other?
infix "<=" (other: REAL_32): BOOLEAN
Is Current less than or equal other?
infix ">" (other: REAL_32): BOOLEAN
Is Current strictly greater than other?
infix ">=" (other: REAL_32): BOOLEAN
Is Current greater than or equal than other?
abs: REAL_32
effective function
is_not_a_number: BOOLEAN
Also known as NaN in IEEE-754.
is_infinity: BOOLEAN
Is either plus or minus infinity?
is_zero: BOOLEAN
effective function
Is either -0.0 or +0.0 ?
is_subnormal: BOOLEAN
Is it too small to be represented in normalized format.
is_normal: BOOLEAN
The most general situation (see ensure).
divisible (other: REAL_32): BOOLEAN
effective function
May Current be divided by other ?
rounded: REAL_32
frozen
Round to nearest integer away from zero.
floor: REAL_32
frozen
Largest integral value no greater than Current.
ceiling: REAL_32
frozen
Smallest integral value no smaller than Current.
to_string: STRING
effective function
Convert Current into a new allocated STRING using 6 as the default number of digits for the fractional part.
to_string_format (f: INTEGER_32): STRING
effective function
Convert Current into a new allocated STRING using f digits for fractional part.
to_string_scientific (f: INTEGER_32): STRING
effective function
Convert Current into a new allocated STRING, using the scientific notation with f digits for the fractional part.
append_in (buffer: STRING)
effective procedure
Append the equivalent of to_string at the end of buffer.
append_in_format (str: STRING, f: INTEGER_32)
effective procedure
Append the equivalent of to_string_format at the end of buffer.
append_in_scientific (str: STRING, f: INTEGER_32)
effective procedure
Append the equivalent of to_string_scientific at the end of buffer.
out_in_tagged_out_memory
effective procedure
Append terse printable represention of current object in tagged_out_memory.
fill_tagged_out_memory
effective procedure
Append a viewable information in tagged_out_memory in order to affect the behavior of out, tagged_out, etc.
sqrt: REAL_32
frozen
Square root of Current.
sin: REAL_32
frozen
Sine of Current.
cos: REAL_32
frozen
Cosine of Current.
tan: REAL_32
frozen
Tangent of Current.
asin: REAL_32
frozen
Arc Sine of Current.
acos: REAL_32
frozen
Arc Cosine of Current.
atan: REAL_32
frozen
Arc Tangent of Current.
atan2 (x: REAL_32): REAL_32
frozen
Arc Tangent of Current / x.
sinh: REAL_32
frozen
Hyperbolic Sine of Current.
cosh: REAL_32
frozen
Hyperbolic Cosine of Current.
tanh: REAL_32
frozen
Hyperbolic Tangent of Current.
exp: REAL_32
frozen
Exponential of Current.
log: REAL_32
frozen
Natural Logarithm of Current.
log10: REAL_32
frozen
Base-10 Logarithm of Current.
pow (e: REAL_32): REAL_32
frozen
Current raised to the power of e (ANSI C pow).
sign: INTEGER_8
effective function
Sign of Current (0 -1 or 1).
in_range (lower: REAL_32, upper: REAL_32): BOOLEAN
effective function
Return True if Current is in range [lower..upper]
See also min, max, compare.
compare (other: REAL_32): INTEGER_32
effective function
If current object equal to other, 0 if smaller, -1; if greater, 1.
three_way_comparison (other: REAL_32): INTEGER_32
effective function
If current object equal to other, 0 if smaller, -1; if greater, 1.
min (other: REAL_32): REAL_32
effective function
Minimum of Current and other.
max (other: REAL_32): REAL_32
effective function
Maximum of Current and other.