3 ms·
I tried to enter 3 5 which was interpreted as 3 * 5. Seems a bit risky to me :) Otherwise looks neat.
by Quiark 9y ago
I tried to enter
3 5
which was interpreted as 3 * 5. Seems a bit risky to me :) Otherwise looks neat.
- sharkdp 9y agoThank you for the feedback. That is intentional. Whitespace (or even lack thereof, as in "2x") is implicit multiplication. Otherwise, you'd have to write multiplication signs everywhere: 2*sin(5*cm/(2*m))
- Quiark 9y agoYes, whitespace as multiplication between number and unit or variable will be expected as multiplication but you can consider warning users about whitespace between two number literals because that could be just a typo.