On Mon, Feb 12, 2024 at 9:35 AM Gareth Ma <grhk...@gmail.com> wrote:
>
> Yes, because 1 / 2 is mathematically infinite in base 3, just like how A=1/3 
> and B=10 doesn't terminate.
>

Indeed, it is periodic and infinite.
When I use code finite precision I expect it to terminate.
It works with python `float` too.
btw, this code was written by chatgpt and I have seen it on
other places.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAGUWgD_S2N9YxGsjun1_VPmBCA6HjtC%2BSUHDkQY-o99S04UcZA%40mail.gmail.com.

Reply via email to