possible bug -fx calc with scientific notation
Posted: 2012-07-17T15:46:50-07:00
IM 6.7.8.2 Q16 Mac OSX Snow Leopard
The following fx calculation does not seem to working with scientific notation. Correct me if I am wrong, but this was fixed some time ago. I assume it got lost somewhere along the way.
2011-05-21 6.7.0-0 Cristy <quetzlzacatenango@image...>
...
Fix -fx to interpret scientific notation properly.
val=2.44141e-05
convert xc: -format "%[fx:round(255*$val)]" info:
311
Should round to zero, right?
convert xc: -format "%[fx:round(255*2.44141e-05)]" info:
311
The following fx calculation does not seem to working with scientific notation. Correct me if I am wrong, but this was fixed some time ago. I assume it got lost somewhere along the way.
2011-05-21 6.7.0-0 Cristy <quetzlzacatenango@image...>
...
Fix -fx to interpret scientific notation properly.
val=2.44141e-05
convert xc: -format "%[fx:round(255*$val)]" info:
311
Should round to zero, right?
convert xc: -format "%[fx:round(255*2.44141e-05)]" info:
311