[Tutor] precision for complex numbers
Alan Gauld
alan.gauld at yahoo.co.uk
Thu Apr 6 05:09:53 EDT 2023
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
More information about the Tutor
mailing list