int main() {
float x, y, z;
for (x=0, y=1, z=y; x<y; y+=z);
printf("%f\n", x);

ohhh this has a bad bug. to fix it:

for (x=0, y=1, z=y; x<y; x=y, y+=z);

@shoofle not with floats! you can only go as high as your significand's width


@mxsparks ohhh, how cool! I didn't catch that it's using floats.

Sign in to participate in the conversation

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!