request enhancement to -evaluate log IM 6.8.1.3 Q16
Posted: 2012-12-27T15:04:32-07:00
IM 6.8.1.3 Q16 Mac OSX Snow Leopard
When convenient, would it be possible to fix -evaluate so that it recognizes scientific notation for values.
In my script, spectrum, I compute an argument that may be larger than 1000000 (1 million) using %[fx:...] and it generates a value in scientific notation for anything above 1 million, such as 1e+8. But -evaluate log 1e+8 errors regarding the scientific notation. I tried adding -precision 10 in the fx computation, but it did no good, as I expect it only controls the fractional part of the number.
If there is a setting that I can use already to make %[fx:...] not use scientific notation, please let me know and I will modify my script appropriately.
Thanks
Fred
When convenient, would it be possible to fix -evaluate so that it recognizes scientific notation for values.
In my script, spectrum, I compute an argument that may be larger than 1000000 (1 million) using %[fx:...] and it generates a value in scientific notation for anything above 1 million, such as 1e+8. But -evaluate log 1e+8 errors regarding the scientific notation. I tried adding -precision 10 in the fx computation, but it did no good, as I expect it only controls the fractional part of the number.
If there is a setting that I can use already to make %[fx:...] not use scientific notation, please let me know and I will modify my script appropriately.
Thanks
Fred