Dear William,

On Aug 25, 6:48 pm, "William Stein" <[EMAIL PROTECTED]> wrote:

> If you call _fast_float_ as illustrated below on your functions, find_* will
> work, and also be much much faster:
>
> sage: find_maximum_on_interval((-x^2)._fast_float_(x),-1,1)
> (-7.7037197775489434e-34, -2.77555756156e-17)
> sage: find_minimum_on_interval((-x^2)._fast_float_(x),-1,1)
> (-0.99999992595132459, -0.999999962976)
>
> find_* doesn't do this already since (1) _fast_float_ was written
> after find_*, and (2) nobody has had the time to change find_*
> to use _fast_float_.

That's amazing, thank you! I didn't find any information about the
_fast_float_. Can it be used for other purposes, too?

Stan

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to