dharmik

@dharmik@linuxusers.in

admin @ linuxusers.in
student. mostly computers.

matrix@spiderham:matrix.org
codeshithttps://github.com/dhrm1k
bloghttps://dhrm1k.github.io

46 following 17 followers

1 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

when i was in primary school, 'decimal' meant numbers like 4.5643. now, in programming, a 'decimal integer' just means a whole number in base 10. the definitions didn’t change—i just stepped into a world where words multitask.

screenshot from c programming language manual.

Alt...screenshot from c programming language manual.

...

screwlisp »
@screwtape@mastodon.sdf.org

@dharmik yeah, people in school are often confused about this. Decimal refering to a number being in base ten cf octal being in base 8, not in having a decimal point. Obviously the natural base being octal

...

screwlisp »
@screwtape@mastodon.sdf.org

@dharmik though I'm now wondering how straight I can keep my face while saying octalion point

das-g »
@das_g@chaos.social

@dharmik Abbreviations often lead to confusion, especially when one isn't even aware something was abbreviated. The use of "decimal" in primary school was just short for "decimal fraction". See en.wikipedia.org/wiki/Decimal & en.wikipedia.org/wiki/Decimal#

History