[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>language has more than 1 type for numbers

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 13
Thread images: 2

File: 1350611681869.jpg (137KB, 401x487px) Image search: [Google]
1350611681869.jpg
137KB, 401x487px
>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?
>>
File: image_0.jpg (13KB, 459x459px) Image search: [Google]
image_0.jpg
13KB, 459x459px
>>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
Thread posts: 13
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.