Skip to content
Tcl Source Code Artifact [e13bca3189]
Login

Artifact [e13bca3189]

Artifact e13bca3189cdd1c5cd76e3103d81b38fc338ad1c:

Ticket change [e13bca3189] - New ticket [1202178fffffffff|1202178fff] <i>Change [time] to return a float for count&gt;1</i>. by das on 2005-05-15 02:43:34.
D 2005-05-15T02:43:34
J assignee hobbs
J cmimetype text/plain
J comment When\s[time]ing\sa\sscript\sof\sshort\sduration\sfor\smany\scounts,\sa\slot\sof\s\nmeasured\sprecision\sis\slost\sbecause\s[time]\sonly\sreturns\san\sinteger\s\nnumber\sof\smicroseconds.\n\nThe\sattached\svery\ssimple\spatch\schanges\s[time]\sto\sreturn\sa\slist\swith\s\na\sstring\srep\sidentical\sto\sthe\scurrent\sresult\sstring,\sexcept\sthat\sthe\s\nreturned\stime\sis\sa\sDoubleObj\sfor\scount>1\s(and\san\sIntObj\sfor\s\ncount==1)\n\nFor\sthings\slike\stclbench\sthat\sdo\s[lindex\s0]\son\sthe\sreturn\svalue\sof\s\n[time]\sthis\stransparently\savoids\sstring\sconversion\sof\sthe\s\nmicroseconds\svalue...\n\nI'm\snot\ssure\sif\sthis\schange\swould\srequire\sa\sTIP?\sit\sdoes\schange\s\nthe\spublic\sAPI\sof\s[time]\sbut\sin\sa\sway\sthat\sseems\sinnocous...
J foundin obsolete:\s8.5a3
J priority 6
J resolution None
J status Open
J submitter das
J subsystem 18.\sCommands\sM-Z
J title Change\s[time]\sto\sreturn\sa\sfloat\sfor\scount>1
J type Bug
K 1202178fffffffffffffffffffffffffffffffff
U das
Z e5d2193d69844b316fd936b333fffd6b