2 questions on G'MIC dialogs

  1. What is the minimum/maximum value that int dialog can hold without losing precision?
  2. Subscript/Superscript works on GUI dialog names?

I really don’t understand the question. Are you talking about the alert command ?

No. I’m talking about the G’MIC GUI element. I just remember what was it called.

What’s the limit of int()? Can you use superscript/subscript?

Ok, I can confirm subscript/superscript does not work.

#@gui:MC<sup>2</sup>=int(0,-232792560,232792560)

Which leaves the question of the limit within int() and others would be nice to know.

The application of subscript here is that I plan to use 1x10N as variable name. However, I guess I can title it as 1eX in Base N.

I don’t have this answer, but it’s probably -2^31 to 2^31 or something like that.
But I don’t imagine a filter that would need a parameter with such a range…

I figured out the range it would accept:

#@gui:Var=int(0,-2147483647,2147483647)

Weird things happens though. [1,2147483647] works fine though.

As far as a filter goes, I’m continuing my work on Mitchell Concatenation, and figured out how to allow arbitrarily large integer without losing precision, and now I have to account for the code I did. This’ll be part of the filter:

C:\Windows\System32>gmic echo ${rep_decimal2alt_base_digits\ 9,30798857796186346678892882454789022728}
[gmic]./ Start G'MIC interpreter (v.3.3.6).
1,7,7,8,1,0,1,0,4,0,7,1,0,2,8,6,3,2,4,1,5,5,7,5,1,6,2,6,4,4,3,8,3,6,2,4,0,4,0,6
[gmic]./ End G'MIC interpreter.

C:\Windows\System32>gmic echo ${rep_alt_base_digits2decimal\ 9,1,7,7,8,1,0,1,0,4,0,7,1,0,2,8,6,3,2,4,1,5,5,7,5,1,6,2,6,4,4,3,8,3,6,2,4,0,4,0,6}
[gmic]./ Start G'MIC interpreter (v.3.3.6).
30798857796186346678892882454789022728
[gmic]./ End G'MIC interpreter.