>language has more than 1 type for numbers
do u know anything about computer architecture? there are two "types" hardwired into most processors
k y s t b h f a m
>>54987333
Computers should automatically detect pure floats/integers/big numbers optimize accordingly
>>54987369
why?
>>54987369
Not always possible, senpai
>>54987415
Because he is a lazy fuck who wants to write everything on NodeJS and that it will be supported by hardware.
>>54987463
Name one instance where it isn't
>>54987482
Real time embedded systems or simulations in which signals/variables will vary from use to use or even microsecond to microsecond.
>>54987501
I don't see how having one type for numbers impacts this.
>>54987517
Because in situations such as this, it may be ambiguous to the compiler/interpreter which form of number representation is most efficient, and which sacrifices in precision are acceptable.
>>54987517
because you don't know much about computers or aren't thinking about the consequences of what you're saying or are trolling. what >>54987501 means is that there are applications in which you care a lot about the speed and don't have the time to consider lesser programmers
>>54987244
wait until you compare 2 floats you thought were equal but they aren't due to rounding errors