public double TotalMilliseconds
{
[__DynamicallyInvokable]
get
{
double num = (double)this._ticks * 0.0001;
if (num > 922337203685477.0)
{
return 922337203685477.0;
}
if (num < -922337203685477.0)
{
return -922337203685477.0;
}
return num;
}
}
-922337203685477.5808<=刻度 * 0.0001<=922337203685477.5807
为什么它会削减小数部分?
pinckerman 说“双精度为 15-16 位”。但是为什么 TotalSeconds 不削减小数部分?
public double TotalSeconds
{
[__DynamicallyInvokable, TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
get
{
return (double)this._ticks * 1E-07;
}
}