[SciPy-User] Simple math question

josef.pktd@gmai... josef.pktd@gmai...
Wed Feb 13 07:41:27 CST 2013


On Wed, Feb 13, 2013 at 8:34 AM, Neal Becker <ndbecker2@gmail.com> wrote:
> Pierre Barbier de Reuille wrote:
>
>> Assuming 0 <= p <= 1, I don't see the problem there.
>>
>
> I had just assumed there'd be numerical accuracy issues, but maybe not.

Any numerical problems that you might have with the power gets swamped
because you can only get within floating point precision of 1.

If the results were zero, then there are special function to get
better precision for tiny numbers.

AFAICS.

Josef


>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user


More information about the SciPy-User mailing list