[PD] what's the deal with [utime] object?

IOhannes m zmölnig zmoelnig at iem.at
Sat Feb 27 09:23:37 CET 2016

On 02/27/2016 12:34 AM, s p wrote:
> Hi!
> I am trying to use [utime] to get an absolute date in seconds since epoch.
> However, the number of seconds seems to be rounded, so I don't understand
> how is it of any use!? For example, the following patch prints 0 ...

short answer: single precision floating point precision.

depending on your use-case, you probably can use zexy's [date] and
[time] objects instead.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160227/a533ddaa/attachment.sig>

More information about the Pd-list mailing list