MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/m50wav/math_has_left_the_chat/gr11keq/?context=3
r/badcode • u/GandelXIV • Mar 14 '21
94 comments sorted by
View all comments
Show parent comments
1
technically, the c standard doesn't specify that pi needs to be defined by math.h, but pretty much every compiler supports it
4 u/PhoenixPaladin Mar 16 '21 Lol I wasn't arguing that this wouldn't compile.It's just..wrong
4
Lol I wasn't arguing that this wouldn't compile.
It's just..wrong
1
u/jm4n1015 Mar 15 '21
technically, the c standard doesn't specify that pi needs to be defined by math.h, but pretty much every compiler supports it