[M3devel] LONGINT problem?
Olaf Wagner
wagner at elegosoft.com
Fri Jul 15 13:22:41 CEST 2011
Quoting Ken Durocher <kcdurocher at gmail.com>:
[...]
> This outputs:
>
> 100: 17 Triples, 7 Primitives
> 1000: 325 Triples, 70 Primitives
> 10000: 0858 Triples, 703 Primitives
> 100000: 40701 Triples, 7024 Primitives
> 1000000: 808950 Triples, 70229 Primitives
>
> However, if I just use INTEGER on a 64 bit machine, I get the proper output:
>
> 100: 17 Triples, 7 Primitives
> 1000: 325 Triples, 70 Primitives
> 10000: 4858 Triples, 703 Primitives
> 100000: 64741 Triples, 7026 Primitives
> 1000000: 808950 Triples, 70229 Primitives
>
> Note how 10000 and 100000 are different. The code is literally exactly the
> same, only with LONGINT replaced by INTEGER.
As only some of the outputs are wrong, I'd guess that one of the
output formatting procedures still has a problem with LONGINT.
We need to fix that.
Olaf
--
Olaf Wagner -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
More information about the M3devel
mailing list