Alignant
I think he's overdoing it lol
BinaryByter
he's just a crackpot
Alignant
If it sucks on the developer's end
Alignant
It would suck on the user's end
Anonymous
I think he's overdoing it lol
Haha, this bean's face is kinda minecraft-ized
BinaryByter
my dong is too big for gcc
Dima
what the hell
Anonymous
Allright gcc
Alignant
my dong is too big for gcc
Someone needs long arithmetic :)
Dima
calculate my long(s) ( ͡° ͜ʖ ͡°)
Anonymous
libgmp
BinaryByter
libgmp
I know man
Roxifλsz 🇱🇹
Good meme
Alignant
hehehe
if I designed a language, I would make the basic integer type long, and it would increase as you add Os long < loong looong < ...
Anonymous
lol
Anonymous
#define loong long long
Alignant
#define loong long long
Well, how do you implement loooooooooooooooooooooooong? :D
Anonymous
#define looooooong long long long long long long long long
Alignant
long is 4 bits, loong is 8bits, looing is 16 and so on
Dima
lol I remember someone made the issue @ linux repo noting that “unsigned long long” is a typo, shorten to “unsigned long"
Anonymous
*bytes
Anonymous
Holy shit
Anonymous
joking
Anonymous
Anyway long is 8 bytes on linux
Anonymous
long long is the same
Alignant
Anonymous
y
Alignant
But on 64 bit windows it's 4?
Anonymous
Yes
Anonymous
Probably to maintain compatability with older programs
Anonymous
But im not sure
Alignant
Maxi, I need a looong German swearword for this, help me out
Alignant
BinaryByter
how long?
BinaryByter
how many words do you need me to put together?
Alignant
As much as you can, as long as it describes the situation I see
BinaryByter
arschgeburtenwichsvorlagenscheissermutter
Alignant
BinaryByter
it's the mother of the guy who shits out fapping material for people who were born from their mother's ass
Anonymous
Maxi, I need a looong German swearword for this, help me out
The guarantee you get is that sizeof(char) == 1. There are no other guarantees so far :D
BinaryByter
sizeof (int) >= 1
BinaryByter
sizeof (short) >= 1
BinaryByter
etc
Alignant
sizeof (int) >= 1
int should be equal to a machine word
Anonymous
you do
basically depends on the architecture
Anonymous
BinaryByter
the architecture doesn't say a lot about datatype sizs
Alignant
the architecture doesn't say a lot about datatype sizs
Architecture supports 3 types of data Integers, that's obvious Floats, where we have a tricky way to store it(e.g. IEEE 754) Flags, where each bit recognized seperetely And sizes like byte, word, doubleword, etc Anything else is defined by languages, compilers, blah
BinaryByter
it supports 0 and 1
Alignant
BinaryByter
the compiler makes sense of it
BinaryByter
Alignant
mmx registers do
Yeah, but it's architecture
BinaryByter
Yeah, but it's architecture
memory map wise, it's the same as an int
BinaryByter
I could put an int through the float registers
BinaryByter
nobody would care
Alignant
nobody would care
Well, that's true. But you wouldn't be able to multiply it by the other double
Alignant
why not?
By hardware means
BinaryByter
there isn't a thing in the float that tells the computer that it cant be multiplied with an int
BinaryByter
Alignant
How a processor would know how to multiply it?
Alignant
does it have to know?
Well, there are FMA operations. And they are supported by some processors
Alignant
Does it count as "processor knows"?
BinaryByter
the processor doesn't know a lot
BinaryByter
it just does what it is been told to
BinaryByter
if you make it multiply an int with a float it will
BinaryByter
why woudln't it?
Alignant
Well, we say compiler knows the type... but compiler doesn't know anything lol