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


1.80.4 FloatQ: 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 FloatQ


< 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


asFloatD
Answer the receiver converted to a FloatD


asFloatE
Answer the receiver converted to a FloatE


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