[M3devel] LONGINT, looks urgent...

Dragiša Durić dragisha at m3w.org
Sat Sep 26 21:11:02 CEST 2009


Spent a piece of day with

pdv := osnovica * 17L DIV 100L;

varying osnovica from 1, over 1791, 1793... and many more. It looks like
LONGINT arithmetic in anything except simplest expressions is broken.
When turned to:

WITH step1 = osnovica * 17L, step2 = step1 DIV 100L DO
  pdv := step2;
END;

it works...

I have no much time ATM (doing various M3+Gtk+ tasks right now, tight on
delivery schedule) to check it more. My version is a bit rusty but not
much. If nobody makes more research, I'll - few weeks is most earliest I
can expect any free time.
-- 
Dragiša Durić <dragisha at m3w.org>




More information about the M3devel mailing list