Oh cool! Thanks.
So it's mostly used by code generation tools? (asking because I've never seen it used in code written by a human, at least not for TypeScript stuff)
j
jw
08/25/2023, 5:01 PM
Unless you were optimizing for extreme performance, a human would be unlikely to write such code.
gratitude thank you 1
a
Artem Kobzar
08/25/2023, 8:56 PM
Also, in typescript there is no difference between integer and floating-point numbers, so, they don't add anything like this.
You could also notice that for integer multiplication we use