On Thu, 17 Jan 2008, David Arturo Macias Corona wrote:
> Harbour build (just with one known warning) and run fine under eCS, now 
> with "long long" support
> Any small sample to compare results with and without "long long" ? What 
> can I expect as different ? (yes, numerical precision)
> I want "to certify" it is working

When HB_LONG_LONG_OFF was set then in nearly all places where it was
used I was emulating big numbers using double values so numerical
precission will be only one visible difference with some exceptions
when you reach some limits, f.e. LASTREC() with DBF with more then
2GB records returns negative value with HB_LONG_LONG_OFF.
This is very simple code to check if it works:

    proc main()
    ? 1234567890123456789
    return

Without HB_LONG_LONG_OFF this number is stored as double value
rounded to 53 bits precision and presented as:
    1234567890123457000

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to