[Tutor] precision for complex numbers
Gerard Blais
gerard.blais at gmail.com
Thu Apr 6 09:34:44 EDT 2023
look at mpmath.
It's GREAT!
On Thu, Apr 6, 2023 at 5:11 AM Alan Gauld via Tutor <tutor at python.org>
wrote:
> On 05/04/2023 18:30, Msd De wrote:
>
> > Is there a way to increase precision for complex numbers for python?
>
> The precison is the same as for floats and as such is fixed by
> the IEEE float standard.
>
> How much more precision did you have in mind, and would you also
> need that extra precision for floats too, since presumably you'd
> need to interact with non-complex numbers at times too?
>
> There may be more precise complex implemetatioms around as
> third-party modules but they will likely be very much slower
> in operation. But I've not heard of any such modules.
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> http://www.amazon.com/author/alan_gauld
> Follow my photo-blog on Flickr at:
> http://www.flickr.com/photos/alangauldphotos
>
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
--
<http://projecteuler.net/profile/gblais.png>
More information about the Tutor
mailing list