Benutzer:MovGP0/F♯/Number Representations

aus Wikipedia, der freien Enzyklopädie
   MovGP0        Über mich        Hilfen        Artikel        Weblinks        Literatur        Zitate        Notizen        Programmierung        MSCert        Physik      


Number Representations

Numerical Types
Type Description Example
byte 8-bit unsigned integers 10uy, 0xA0uy
sbyte 8-bit signed integers 10y
int16 16-bit signed integers 10s
uint16 16-bit unsigned integers 10us
int, int32 32-bit signed integers 10
uint32 32-bit unsigned integers 10u
int64 64-bit signed integers 10L
uint64 64-bit unsigned integers 10UL
nativeint Hardware-sized signed integers 10n
unativeint Hardware-sized signed integers 10un
single , float32 32-bit IEEE 754 floating-point 10.0f
double , float 64-bit IEEE 754 floating-point 10.0, 0x402E000000000000LF
decimal High-precision decimal 10.0M
bigint Arbitrary precision integers 10I
complex Complex numbers using 64-bit floats Complex (10.0, 10.0)