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-

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to