Timeline for Shortest C \ C++ function to generate -1, 0 ,1
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 7, 2018 at 22:23 | history | edited | Steadybox | CC BY-SA 3.0 | deleted 2 characters in body |
| Jan 14, 2014 at 19:54 | history | edited | aghast | CC BY-SA 3.0 | Corrected length to exclude newline. |
| Jan 14, 2014 at 19:54 | comment | added | aghast | I marked it C99 since C99 actually specifies the behavior of '%', whereas prior versions left it implementation-defined. And yeah, I was counting the newline. I'll fix that. | |
| S Jan 14, 2014 at 19:50 | review | Low quality posts | |||
| Jan 14, 2014 at 20:16 | |||||
| S Jan 14, 2014 at 19:50 | review | First posts | |||
| Jan 14, 2014 at 20:12 | |||||
| Jan 14, 2014 at 19:48 | comment | added | AMK | Also works in C89. And function text is 34 chars | |
| Jan 14, 2014 at 19:34 | history | answered | aghast | CC BY-SA 3.0 |