Commit c4ffb87d authored by Richard Benson's avatar Richard Benson

wtf C floats

parent a40b6c6f
#include <stdio.h>
int main (void) {
// less than or equal, eh?
for (float f = 0.0; f <= 1.0; f += 0.1) {
printf ("%f\n", f);
}
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment