[Issue 6725] New: core.time.dur should accept floating point

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 24 14:15:49 PDT 2011


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

           Summary: core.time.dur should accept floating point
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: druntime
        AssignedTo: nobody at puremagic.com
        ReportedBy: siegelords_abode at yahoo.com


--- Comment #0 from siegelords_abode at yahoo.com 2011-09-24 14:15:18 PDT ---
I'd prefer to be able to do this:

dur!("secs")(1.0);
dur!("secs")(1.5);
dur!("secs")(1.5001);

instead of having to do this:

dur!("secs")(1);
dur!("msecs")(1500);
dur!("nsecs")(1500100);

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


More information about the Digitalmars-d-bugs mailing list