Conversation
Notices
-
Embed this notice
TeriRi (gnuxeava@river.divineduty.xyz)'s status on Monday, 15-Aug-2022 19:43:36 JST TeriRi is this thing drunk or what? What part did i declare as double? -
Embed this notice
TeriRi (gnuxeava@river.divineduty.xyz)'s status on Monday, 15-Aug-2022 19:45:14 JST TeriRi it compiles fine if i use assignment operator instead of braces -
Embed this notice
TeriRi (gnuxeava@river.divineduty.xyz)'s status on Monday, 15-Aug-2022 19:49:09 JST TeriRi @koakuma 10^5 -
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Monday, 15-Aug-2022 19:49:10 JST Sun Microdevil Pte Ltd @GNUxeava "1e5"?
-
Embed this notice
TeriRi (gnuxeava@river.divineduty.xyz)'s status on Monday, 15-Aug-2022 19:53:00 JST TeriRi @koakuma initializer list confuses the compiler
it compiles fine when i use assignment operator instead -
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Monday, 15-Aug-2022 19:53:01 JST Sun Microdevil Pte Ltd @GNUxeava Yeah but I meant it was the part that the compiler think as double, or not?
-
Embed this notice
your new favourite fungus (duponin@udongein.xyz)'s status on Monday, 15-Aug-2022 19:53:10 JST your new favourite fungus @GNUxeava types were a undefined
TeriRi likes this. -
Embed this notice
TeriRi (gnuxeava@river.divineduty.xyz)'s status on Monday, 15-Aug-2022 19:54:27 JST TeriRi @koakuma normally i would blame weird contructor quirk but this is a primitive data type
what makes the compiler deduce it as double when i explicitly assign it as size_t? -
Embed this notice
TeriRi (gnuxeava@river.divineduty.xyz)'s status on Monday, 15-Aug-2022 20:02:52 JST TeriRi @koakuma what does typeid m mean? -
Embed this notice
Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Monday, 15-Aug-2022 20:02:53 JST Sun Microdevil Pte Ltd @GNUxeava 1e5 expression is a double
Your variable is a size_t
You are trying to assign a double to a size_t using a strongly-typed operatorOfc the compiler will error out, no? :cirnothinking:
-
Embed this notice
TeriRi (gnuxeava@river.divineduty.xyz)'s status on Monday, 15-Aug-2022 20:03:35 JST TeriRi @Suiseiseki shut up cunt -
Embed this notice
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Monday, 15-Aug-2022 20:03:37 JST 翠星石 @GNUxeava That's what you get for writing sepples.
Write in C. -
Embed this notice
TeriRi (gnuxeava@river.divineduty.xyz)'s status on Monday, 15-Aug-2022 20:04:59 JST TeriRi @koakuma oh it means unsigned long
clearly the compiler is not implicitly converting size_t to double with assignment operator
-
Embed this notice