Rate counter: Difference between revisions
Content added Content deleted
No edit summary |
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
||
Line 11: | Line 11: | ||
'''See also:''' [[System time]], [[Time a function]] |
'''See also:''' [[System time]], [[Time a function]] |
||
=={{header|Ada}}== |
=={{header|Ada}}== |
||
Line 433: | Line 432: | ||
</pre> |
</pre> |
||
=={{header|E}}== |
=={{header|E}}== |
||
Line 1,006: | Line 1,004: | ||
end function |
end function |
||
</lang> |
</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|OxygenBasic}}== |
=={{header|OxygenBasic}}== |
||
Line 1,129: | Line 1,136: | ||
'Sunday July 01 2012 |
'Sunday July 01 2012 |
||
</lang> |
</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|PARI/GP}}== |
=={{header|PARI/GP}}== |
||
Line 1,167: | Line 1,165: | ||
A negative COUNT will run each job for at least COUNT seconds.<br> |
A negative COUNT will run each job for at least COUNT seconds.<br> |
||
A positive COUNT will run each job COUNT times. |
A positive COUNT will run each job COUNT times. |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | The <tt>Instant</tt> type in Perl 6 is defined to be based on TAI seconds, and represented with rational numbers that are more than sufficiently accurate to represent your clock's accuracy. The actual accuracy will depend on your clock's accuracy (even if you don't have an atomic clock in your kitchen, your smartphone can track various orbiting atomic clocks, right?) modulo the vagaries of returning the atomic time (or unreasonable facsimile) via system calls and library APIs. |
||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
Line 1,468: | Line 1,434: | ||
#t |
#t |
||
</pre> |
</pre> |
||
⚫ | |||
(formerly Perl 6) |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | The <tt>Instant</tt> type in Perl 6 is defined to be based on TAI seconds, and represented with rational numbers that are more than sufficiently accurate to represent your clock's accuracy. The actual accuracy will depend on your clock's accuracy (even if you don't have an atomic clock in your kitchen, your smartphone can track various orbiting atomic clocks, right?) modulo the vagaries of returning the atomic time (or unreasonable facsimile) via system calls and library APIs. |
||
=={{header|REXX}}== |
=={{header|REXX}}== |