We are looking to enable reproducible floating point operations on chain by implementing the IEEE 754 standard as an on-chain wasm function.
As discussed in this stackoverflow post,
substrate does not ...
I would like to do some basic operations in the runtime like:
let new_balance = .5 * old_balance;
Or save a percentage value in the runtime storage.
Or represent the balance of a user like: 3.141592 ...