[Spambayes] Re: Matt Sergeant: Introduction
Matt Sergeant
msergeant@startechgroup.co.uk
Tue, 01 Oct 2002 13:05:51 +0100
Michael Hudson wrote:
> Matt Sergeant <msergeant@startechgroup.co.uk> writes:
>
>
>>Off the top of my head, what does frexp() do?
>
>
>>>>print math.frexp.__doc__
>>>
> frexp(x)
>
> Return the mantissa and exponent of x, as pair (m, e).
> m is a float and e is an int, such that x = m * 2.**e.
> If x is 0, m and e are both 0. Else 0.5 <= abs(m) < 1.0.
Ah cool. Same as Math::BigFloat's $x->parts().