Message155502
| Author |
vstinner |
| Recipients |
ned.deily, nicholas.riley, pitrou, ronaldoussoren, vstinner |
| Date |
2012年03月12日.22:42:51 |
| SpamBayes Score |
8.39628e-08 |
| Marked as misclassified |
No |
| Message-id |
<1331592172.07.0.49891573878.issue14104@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Attached is a patch which implements time.monotonic() using
> mach_absolute_time() / mach_timebase_info().
Is it possible that mach_timebase_info() fails? No according to the Technical Q&A QA1398.
> time * timebase.numer / timebase.denom
"time * timebase.numer" may overflow, you should maybe multiply using the double type to avoid the overflow. |
|