vermaseren / form

The FORM project for symbolic manipulation of very big expressions
GNU General Public License v3.0
1.16k stars 138 forks source link

Fix printing of literals in fortran modes #584

Open jodavies opened 6 days ago

jodavies commented 6 days ago

This supposed to be a "minimal" fix of #546 , in that it fixes the printing of literals > 2^31-1 in fortran modes by adding the float suffix. It does not change the C mode, nor introduce any user-configurable parameter to choose a value.

There are two more differences w.r.t master, so in some sense it is not an entirely "minimal" fix. Maybe someone has some comments:

Additionally, note that in 32bit FORM, the master branch starts adding floating suffixes at 2^15-1 (and this PR at 2^16-1).

coveralls commented 6 days ago

Coverage Status

coverage: 50.323% (+0.1%) from 50.227% when pulling f3a730f140c2ad71f9861f196316663e9449d26f on jodavies:issue-546 into 0289435fc48b3ae379c4c1fc8058de7f844dd08a on vermaseren:master.