This shows you the differences between two versions of the page.
ro:numericconstants [2016/01/01 22:48] 127.0.0.1 external edit |
ro:numericconstants [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Constante numerice ===== | ||
- | Constantele numerice sunt oricare cifre, precedat de semnul minus pentru numerele negative, si un punct zecimal urmat de mai multe cifre care sa indice valorile subunitare (virgula mobila).\\ | ||
- | \\ | ||
- | Numerele pozitive pot fi, deasemenea, exprimate in binar (baza 2), octal (baza 8), sau hexazecimal (baza 16). Scrierea se face precedand valorile binare cu 0b (0b1110=14), | ||