[fpc-pascal] <time_fraction>Between bug?
Bee Jay
bee.ography at gmail.com
Sun May 30 14:38:07 CEST 2010
On 30 Mei 2010, at 19:28, Jonas Maebe wrote:
> Then it shouldn't use floating point. Ever.
Well... then it shouldn't be using FPC? ;)
Ok, forget about the rocket launcher. The important note that I think need to be addressed is the bug only occurs if the milisecond part of a or b is 0. Other than 0, then those functions work correctly.
I believe most of us rarely write a program that need precision to milisecond, usually we simply put 0 on the milisecond part. The worst thing is, the other similar functions e.g. HoursBetween etc. which commonly used are also affected by the bug. So, the simple thing could lead to a serious problem.
Should I report this to mantis?
-Bee-
More information about the fpc-pascal
mailing list