http://d.puremagic.com/issues/show_bug.cgi?id=5629



--- Comment #1 from Brad Roberts <bra...@puremagic.com> 2011-02-20 18:26:33 PST 
---
in TickDuration's static this.  freebsd has clock_gettime, so it uses the
clock_getres api.  The results:

    ts.tv_nsec = 280, ticksPerSec = 3571428

Later, during the unit test:

            auto t = TickDuration.from!"nsecs"(1_000_000_000);
            assert(t.nsecs == 1_000_000_000);

t.nsecs is slightly less: t.nsecs = 999999840

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to