From: "Martin J. Dürst" Date: 2013-07-21T14:50:36+09:00 Subject: [ruby-core:56098] Re: [ruby-trunk - Feature #8658][Open] Process.clock_gettime Hello Akira, On 2013/07/19 21:32, akr (Akira Tanaka) wrote: > On LP64 systems, Fixnum can represent 2**62-1. > So (2**62-1)/(365.25*24*60*60*1e9)=146.1 years are representable > without object allocation. > > On ILP32 and LLP64 systems, Fixnum can represent 2**30-1. > So (2**30-1)/1e9=1.07 seconds are representable > without object allocation. > This means Bignum allocations are mostly required except > the origin is very recent. Don't your calculations ignore the fact that Fixnums are signed? Or do you have a way to use negative amounts of nanoseconds, too? Regards, Martin.