Trees | Index | Help |
|
---|
Module __builtin__ :: Class float |
|
object
--+
|
float
float(x) -> floating point number
Convert a string or number to a floating point number, if possible.Method Summary | |
---|---|
x.__abs__() <==> abs(x) | |
x.__add__(y) <==> x+y | |
x.__coerce__(y) <==> coerce(x, y) | |
x.__div__(y) <==> x/y | |
x.__divmod__(y) <==> divmod(x, y) | |
x.__eq__(y) <==> x==y | |
x.__float__() <==> float(x) | |
x.__floordiv__(y) <==> x//y | |
x.__ge__(y) <==> x>=y | |
x.__getattribute__('name') <==> x.name | |
__getnewargs__(...)
| |
x.__gt__(y) <==> x>y | |
x.__hash__() <==> hash(x) | |
x.__int__() <==> int(x) | |
x.__le__(y) <==> x<=y | |
x.__long__() <==> long(x) | |
x.__lt__(y) <==> x<y | |
x.__mod__(y) <==> x%y | |
x.__mul__(y) <==> x*y | |
x.__ne__(y) <==> x!=y | |
x.__neg__() <==> -x | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__nonzero__() <==> x != 0 | |
x.__pos__() <==> +x | |
x.__pow__(y[, z]) <==> pow(x, y[, z]) | |
x.__radd__(y) <==> y+x | |
x.__rdiv__(y) <==> y/x | |
x.__rdivmod__(y) <==> divmod(y, x) | |
x.__repr__() <==> repr(x) | |
x.__rfloordiv__(y) <==> y//x | |
x.__rmod__(y) <==> y%x | |
x.__rmul__(y) <==> y*x | |
y.__rpow__(x[, z]) <==> pow(x, y[, z]) | |
x.__rsub__(y) <==> y-x | |
x.__rtruediv__(y) <==> y/x | |
x.__str__() <==> str(x) | |
x.__sub__(y) <==> x-y | |
x.__truediv__(y) <==> x/y | |
Inherited from object :
__init__ ,
__delattr__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|
Method Details |
---|
__abs__(x)x.__abs__() <==> abs(x)
|
__add__(x,
y)
x.__add__(y) <==> x+y
|
__coerce__(x, y)x.__coerce__(y) <==> coerce(x, y)
|
__div__(x, y)x.__div__(y) <==> x/y
|
__divmod__(x, y)x.__divmod__(y) <==> divmod(x, y)
|
__eq__(x,
y)
x.__eq__(y) <==> x==y
|
__float__(x)x.__float__() <==> float(x)
|
__floordiv__(x, y)x.__floordiv__(y) <==> x//y
|
__ge__(x,
y)
x.__ge__(y) <==> x>=y
|
__getattribute__(...)x.__getattribute__('name') <==> x.name
|
__gt__(x,
y)
x.__gt__(y) <==> x>y
|
__hash__(x)
x.__hash__() <==> hash(x)
|
__int__(x)x.__int__() <==> int(x)
|
__le__(x,
y)
x.__le__(y) <==> x<=y
|
__long__(x)x.__long__() <==> long(x)
|
__lt__(x,
y)
x.__lt__(y) <==> x<y
|
__mod__(x, y)x.__mod__(y) <==> x%y
|
__mul__(x, y)x.__mul__(y) <==> x*y
|
__ne__(x, y)x.__ne__(y) <==> x!=y
|
__neg__(x)x.__neg__() <==> -x
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
__nonzero__(x)
x.__nonzero__() <==> x != 0
|
__pos__(x)x.__pos__() <==> +x
|
__pow__(x, y, z=...)x.__pow__(y[, z]) <==> pow(x, y[, z])
|
__radd__(x,
y)
x.__radd__(y) <==> y+x
|
__rdiv__(x, y)x.__rdiv__(y) <==> y/x
|
__rdivmod__(x, y)x.__rdivmod__(y) <==> divmod(y, x)
|
__repr__(x)
x.__repr__() <==> repr(x)
|
__rfloordiv__(x, y)x.__rfloordiv__(y) <==> y//x
|
__rmod__(x, y)x.__rmod__(y) <==> y%x
|
__rmul__(x, y)x.__rmul__(y) <==> y*x
|
__rpow__(y, x, z=...)y.__rpow__(x[, z]) <==> pow(x, y[, z])
|
__rsub__(x, y)x.__rsub__(y) <==> y-x
|
__rtruediv__(x, y)x.__rtruediv__(y) <==> y/x
|
__str__(x)
x.__str__() <==> str(x)
|
__sub__(x,
y)
x.__sub__(y) <==> x-y
|
__truediv__(x, y)x.__truediv__(y) <==> x/y
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:13 2007 | http://epydoc.sf.net |