Ryan Vandersmith

Results 113 comments of Ryan Vandersmith

That's a good point. I remember coming across this a few years ago. Example snippet ([runnable](https://embed.motoko.org/motoko/g/2VCEFkyrMYrpsVNPjcCMHD5pDC9UjzqqoRsjBLLNKSBzNs94gdAypLm7Zxf6rAoVpp5W5?lines=5)): ```motoko module { let msg = 123; public (msg) } ``` For anyone reading...

It also appears that `Float.format` and `Float.toText` behave differently in the interpreter compared to the replica. Interpreter: ```motoko assert Float.toText(1.2) == "1.2"; assert Float.format(#exp 3, 123.0) == "1.230e+02"; ``` Replica:...

+1 (would've benefited from this dozens of times in various situations). Maybe `P3` priority or `P2` if we find some compelling use cases?