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

s p sebpiq at gmail.com
Sat Feb 27 09:40:34 CET 2016


Yes, I guessed the issue was with precision, but in that case why would
anyone want to use it?
I was about to use [zexy/time], but [utime] would have been so much simpler
in my case ...

On Sat, Feb 27, 2016 at 10:23 AM, IOhannes m zmölnig <zmoelnig at iem.at>
wrote:

> 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.
>
> gmdsar
> IOhannes
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 

*Sébastien Piquemal*

 -----* @sebpiq*
 ----- http://github.com/sebpiq
 ----- http://funktion.fm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160227/f3351c49/attachment-0001.html>


More information about the Pd-list mailing list