[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Support for sub-second time in decoded time
From: |
Stefan Monnier |
Subject: |
Re: Support for sub-second time in decoded time |
Date: |
Mon, 29 Jul 2019 10:03:30 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> `current-time' returns its data as (HIGH LOW USEC PSEC), but now that we
> have bignum support, perhaps we don't need to do it this way. What
> about just having a field in decoded times that's the fraction of a
> second? So 34.5603 seconds would be represented as
>
> (34 ... 5603)
`encode-time` uses a fraction-representation (NOM . DENOM), which is
probably easier to manipulate.
[ Note: I find `encode-time` vs `decode-time` very confusing. ]
Stefan
- Support for sub-second time in decoded time, Lars Ingebrigtsen, 2019/07/29
- Re: Support for sub-second time in decoded time,
Stefan Monnier <=
- encode-time vs decode-time, Stefan Monnier, 2019/07/29
- Re: encode-time vs decode-time, Lars Ingebrigtsen, 2019/07/30
- Re: encode-time vs decode-time, Andy Moreton, 2019/07/30
- Re: encode-time vs decode-time, Lars Ingebrigtsen, 2019/07/30
- Re: encode-time vs decode-time, Paul Eggert, 2019/07/30