Page 1 of 1
Difference between Double and Extended
Posted: Sat Jun 14, 2003 3:14 am
by Eric
Can anyone tell me what is the difference between Double and Extended?
I get WA with Extended in p10509 but Accepted with Double.
Posted: Sat Jun 14, 2003 5:47 am
by Observer
It's glad to know that you've got an ACC in this qq.
Now plz help me!!! I'm getting WA in this qq. Could you share with me your algorithm? Well, I think my algorithm looks fine, but......
Thx in advance.
extended
Posted: Sat Jun 14, 2003 11:13 am
by ACoimbra
Well, try to debug your code with extended and with double.
It may seem strange, but same times I got precision errors with extended.
For example, same of the last digits were transformed in zeros, I don't know why, but this happened
Also Check
http://www.freepascal.org/docs-html/pro ... -1440008.2 as they say:
For all other processors which support floating point operations, the extended type is a nickname for the type which supports the most precision, this is usually the double type. On processors which do not support co-processor operations (and which have the {$E+} switch), the extended type usually maps to the single type.
Check single in
http://www.freepascal.org/docs-html/ref ... 7-300003.1[/url]