l_fp, time, calendar

Hal Murray hmurray at megapathdsl.net
Mon Mar 27 03:17:02 UTC 2017


> bignum is integers, Hal needs floats.

Actually, I don't "need" floats.  That's just what the python date/time stuff 
uses.

The original goal that started this discussion was to remove one slot from 
the python-c interface so I could remove some code ugly from the c side.  
That slot just prints out a l_fp.  The assumption was that it was easy to do 
time (as floats) to text in python.

Then we got into an discussion of how to get a few more bits.  Interesting, 
but not important for this particular problem.

We can easily split the l_fp into integer and fraction, convert the integer 
part into a float for the date/time stuff, then process the fractional part.

-- 
These are my opinions.  I hate spam.





More information about the devel mailing list