Next: , Previous: FloatD class-converting, Up: FloatD


1.78.4 FloatD: built ins

* arg
Multiply the receiver and arg and answer another Number


+ arg
Sum the receiver and arg and answer another Number


- arg
Subtract arg from the receiver and answer another Number


/ arg
Divide the receiver by arg and answer another FloatD


< arg
Answer whether the receiver is less than arg


<= arg
Answer whether the receiver is less than or equal to arg


= arg
Answer whether the receiver is equal to arg


> arg
Answer whether the receiver is greater than arg


>= arg
Answer whether the receiver is greater than or equal to arg


asFloatE
Answer the receiver converted to a FloatE


asFloatQ
Answer the receiver converted to a FloatQ


exponent
Answer the exponent of the receiver in mantissa*2^exponent representation ( |mantissa|<=1 )


fractionPart
Answer the fractional part of the receiver


timesTwoPower: arg
Answer the receiver multiplied by 2^arg


truncated
Truncate the receiver towards zero and answer the result


~= arg
Answer whether the receiver is not equal to arg