On Fri, May 14, 2021 at 2:09 PM Ricky Teachey <ri...@teachey.org> wrote:

> On Fri, May 14, 2021 at 1:14 PM André Roberge <andre.robe...@gmail.com>
> wrote:
>
>>
>> You can already experiment with this.
>>
>>
> Thanks Andre I tried it out and it works great.
>
> Do the appended capital Fs make these numbers look like some kind of
> hexadecimal representation or is it just me?
>

Actually it just hit me: I don't know if this will be considered a big
difficulty or not, but currently you can write division operations using
hexadecimal numbers:

 >>> 0xF / 0xF
 1.0

And this works in Andre's experimental implementation like so for fractions
of hex numbers:

 >>> 0xF / 0xF F
 Fraction(1, 1)

But it looks... funny. I don't know if is is good or bad. It just is.


---
Ricky.

"I've never met a Kentucky man who wasn't either thinking about going home
or actually going home." - Happy Chandler
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/JRRIRYO45UFLF5XTDK6PQQFW2GNX6J4X/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to