Puppy Pi is a user on mathstodon.xyz. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

ah yes, the primitive data types
int
char
float
🅱️OOLIN' 💯💯💯
double

Puppy Pi @codepuppy

@dd86k @toffee long int is long

<stdbool.h>

cat int
YES true

long cat islong()
{
return YES;
}

// :>

· Web · 0 · 0

@dd86k @toffee *sweatdrop* ^^'

(OH I get it! "long" can be used on its own as "long int" XD!)
(thinks their post is even better now even though it's just dank memes)

@codepuppy @toffee
long is a type modifier that can be applied to int and long.
In the SystemV ABI, it's declared that int, long int, and long are 4 bytes, while long long is 8 bytes wide.
In the past, MS-DOS days, long int ensures the type would be 4 bytes.

@dd86k @toffee yus :>

long int = long
long long int = long long

the int is silent :3