Class representing floating-point numbers.
operator +(rhs, )
: Adds two floating-point numbers together.operator -(rhs, )
: Subtracts two floating-point numbers.operator *(rhs, )
: Multiplies two floating-point numbers.operator /(rhs, )
: Divides two floating-point numbers.operator unary +(rhs, )
: Makes current number positive.operator unary -(rhs, )
: Inverts sign of the current number.operator ==(rhs, )
: Determines whether the current number is equal to the given number.operator !=(rhs, )
: Determines whether the current number is not equal to the given number.operator <(rhs, )
: Determines whether the current number is less than the given number.operator >(rhs, )
: Determines whether the current number is greater than the given number.operator <=(rhs, )
: Determines whether the current number is less than or equal to the given number.operator >=(rhs, )
: Determines whether the current number is greater than or equal to the given number.__op_divide__(rhs, )
: Divides two floating-point numbers.__op_equals__(rhs, )
: Determines whether the current number is equal to the given number.__op_geq__(rhs, )
: Determines whether the current number is greater than or equal to the given number.__op_gt__(rhs, )
: Determines whether the current number is greater than the given number.__op_leq__(rhs, )
: Determines whether the current number is less than or equal to the given number.__op_lt__(rhs, )
: Determines whether the current number is less than the given number.__op_minus__(rhs, )
: Subtracts two floating-point numbers.__op_multiply__(rhs, )
: Multiplies two floating-point numbers.__op_nequals__(rhs, )
: Determines whether the current number is not equal to the given number.__op_plus__(rhs, )
: Adds two floating-point numbers together.__op_unminus__(rhs, )
: Inverts sign of the current number.__op_unplus__(rhs, )
: Makes current number positive.bool()
: Returns Boolean representation of current object.float()
: Returns floating-point representation of current object.int()
: Returns integer representation of current object.str()
: Returns string representation of current object.