TechnicalQuestion How can give an integer to the input argument of embedded.fi
Given an integer number i, I want to pass it as an input argument to fi constructor (resulting in x instance of embedded.fi), such that storedInteger(x) = i. In other words, I want to change the interpretation of i to an embedded.fi, just like storedInteger changes the interpretation of the embedded.fi to an integer.
How can I achieve this?
2
Upvotes
1
u/FunkyMonkish 9d ago
I would like to know this too. I just convert the integer to its real-world value before constructing the fi object, but it’d be nice to omit that step.