Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Type theoreticists be like

Name: Anonymous 2020-10-28 18:47

noooooooooi want to divide by zero whoooo whooooooo eeeeeeeooooo babby want divide

Name: Anonymous 2020-10-29 4:09

int div(int x,int y){return x/(y+(y==0)); }

Name: Anonymous 2020-10-29 10:57

>>2
int a=1, b=0;
if (div(a, b) * b != a) { printf("Suugaku wo kakumei suru chikara wo!"); }

Name: Anonymous 2020-10-29 17:07

>>3
You have to look from another perspective:
Obviously the bug was triggered by y variable getting to 0,
the intended action was to divide by 1, but 1 was decremented to 0. The function idiot-proofs these y variables.

Name: Anonymous 2020-11-11 18:51

\(\frac{1}{0} = 1 \cdot \infty\)

Name: Anonymous 2020-11-11 22:38

printf("Suugaku wo kakumei suru chikara wo!"); }
\(\frac{1}{0} = 1 \cdot \infty\)
int a=1, b=0;
if (div(a, b) * b != a) {
int div(int x,int y){return x/(y+(y==0)); }
post "nigger to rope"
no syntax error

Name: Roadside Lending Lbrary 2020-11-11 23:52

Donald Trump Presidential Library and Museum

Name: Anonymous 2020-11-12 7:56

>>5
Judeo post

Name: Anonymous 2020-11-12 8:21

>>3
div returns div_t which is a struct.

Name: Anonymous 2020-11-12 12:50

>>9
It's not like >>3 is in reply to a specific post with its own specific div or anything.

Name: Anonymous 2020-11-13 4:10

>>10
both posts are undefined behaviour
sage up your ass

Don't change these.
Name: Email:
Entire Thread Thread List