Timeline for Parallelogram a Number
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 9, 2017 at 13:34 | comment | added | scottinet | Thanks for the heads up :) I'm unable to try your proposal and tio doesn't seem to offer that possibility either, unfortunately | |
Aug 9, 2017 at 13:28 | comment | added | Felix Palmen |
-lm is not required by gcc but by the fact that glibc doesn't include the math functions in the main library. msvcrt.dll does, so compiling on windows with gcc works without the -lm . This is nitpicking and I'm not entirely sure what the rules about this actually have to say.
|
|
Aug 9, 2017 at 13:24 | history | edited | scottinet | CC BY-SA 3.0 |
edited body
|
Aug 9, 2017 at 13:23 | comment | added | scottinet |
Unfortunately, -lm is needed for the pow() function with gcc. I tried to work without it but couldn't find a solution using fewer than 6 bytes (pow + the compiler flag). I couldn't find rules about how to include flags into the bytecount, and I know realize that I made a false assumption about the - character not beeing counted. I'm adding a +1 byte right now.
|
|
Aug 9, 2017 at 12:56 | comment | added | Felix Palmen |
Hmm, -lm for math functions is only needed for some C runtimes like e.g. glibc . Compiling e.g. with MinGW (using Microsoft's msvcrt.dll ), it wouldn't be needed. So not sure it's required to add here? Anyways, if you add it, it would make 3 bytes ;)
|
|
Aug 9, 2017 at 11:53 | history | edited | scottinet | CC BY-SA 3.0 |
deleted 12 characters in body
|
Aug 9, 2017 at 11:48 | history | edited | scottinet | CC BY-SA 3.0 |
added 31 characters in body
|
Aug 9, 2017 at 10:49 | comment | added | Okx | Looks valid to me :) | |
Aug 9, 2017 at 10:46 | history | edited | scottinet | CC BY-SA 3.0 |
deleted 18 characters in body
|
Aug 9, 2017 at 10:41 | history | edited | scottinet | CC BY-SA 3.0 |
deleted 18 characters in body
|
Aug 9, 2017 at 10:15 | history | edited | scottinet | CC BY-SA 3.0 |
added 42 characters in body
|
Aug 9, 2017 at 10:11 | review | First posts | |||
Aug 9, 2017 at 10:44 | |||||
Aug 9, 2017 at 10:09 | history | undeleted | scottinet | ||
Aug 9, 2017 at 10:09 | history | deleted | scottinet | via Vote | |
Aug 9, 2017 at 10:07 | history | answered | scottinet | CC BY-SA 3.0 |