Timeline for int, float or neither?
Current License: CC BY-SA 4.0
29 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 20, 2022 at 3:17 | comment | added | RARE Kpop Manifesto |
@user108721 : can't imagine something like Turtle draw would parse anything properly
|
|
Dec 19, 2022 at 12:18 | comment | added | user108721 | @RAREKpopManifesto Now you have to find one where it doesn't work :) | |
Dec 19, 2022 at 12:14 | comment | added | RARE Kpop Manifesto |
echo '+1.0' | ruby -e 'puts Math.exp(Float(STDIN.read))' 2.718281828459045
|
|
Dec 19, 2022 at 12:10 | comment | added | RARE Kpop Manifesto |
echo '+1.0' | perl -nle 'print exp($_)' 2.71828182845905
|
|
Dec 19, 2022 at 12:09 | comment | added | RARE Kpop Manifesto |
echo '+1.0' | python3 -c 'import sys, math; [ print(math.exp(float(_))) for _ in sys.stdin ]' 2.718281828459045
|
|
Dec 19, 2022 at 12:04 | comment | added | RARE Kpop Manifesto |
echo '+1.0' | awk '$++NF = exp($1)' ::::::::::::::::::::::::::::: :::::::::::::::::::::::::::: ::::::::::::::: +1.0 2.71828 . :::::::::::::::::::::::::::: :::::::::::::::::::::::: :::::::::::::::::::::::: Even though its effects are transparent by and large, any parser that fails to properly recognize and parse a positive sign, is not worth its salt.
|
|
Dec 19, 2022 at 12:03 | comment | added | user108721 | @RAREKpopManifesto I didn't think of it! Is that a valid float in many languages? | |
Dec 19, 2022 at 12:02 | comment | added | RARE Kpop Manifesto |
@graffe: why is +1.0 not a float in ur mind ? "sequence of digits following by a . followed by a sequence of digits" - this satisfies the rule. while + is optional, and most don't include it, that doesn't make this number any less valid of a float.
|
|
Mar 14, 2022 at 19:30 | history | edited | user108721 | CC BY-SA 4.0 |
added 7 characters in body
|
Mar 14, 2022 at 16:20 | answer | added | Zaelin Goodman | timeline score: 1 | |
Mar 14, 2022 at 15:26 | answer | added | Zombo | timeline score: 1 | |
Mar 14, 2022 at 1:27 | answer | added | FarSeenNomic | timeline score: -1 | |
Mar 13, 2022 at 23:21 | comment | added | Peter Cordes | Why are leading zeros disallowed at all? Seems a bit arbitrary, but it sounds like the challenge is really to detect canonically-formatted int / float. | |
Mar 13, 2022 at 17:58 | history | became hot network question | |||
Mar 13, 2022 at 17:49 | answer | added | AZTECCO | timeline score: 3 | |
Mar 13, 2022 at 16:40 | answer | added | Neil | timeline score: 0 | |
Mar 13, 2022 at 15:19 | history | edited | pxeger |
edited tags
|
|
Mar 13, 2022 at 11:43 | history | edited | user108721 | CC BY-SA 4.0 |
added 50 characters in body
|
Mar 13, 2022 at 11:06 | answer | added | loopy walt | timeline score: 4 | |
Mar 13, 2022 at 10:35 | history | edited | user108721 | CC BY-SA 4.0 |
added 6 characters in body
|
Mar 13, 2022 at 10:34 | answer | added | Neil | timeline score: 1 | |
Mar 13, 2022 at 10:21 | answer | added | Adám | timeline score: 1 | |
Mar 13, 2022 at 10:12 | answer | added | Adám | timeline score: 5 | |
Mar 13, 2022 at 9:53 | history | edited | user108721 | CC BY-SA 4.0 |
added 63 characters in body
|
Mar 13, 2022 at 9:50 | history | edited | user108721 | CC BY-SA 4.0 |
added 3 characters in body
|
Mar 13, 2022 at 9:45 | history | edited | user108721 | CC BY-SA 4.0 |
added 3 characters in body
|
Mar 13, 2022 at 9:42 | history | edited | user108721 | CC BY-SA 4.0 |
added 194 characters in body
|
S Mar 13, 2022 at 9:36 | review | First questions | |||
Mar 13, 2022 at 9:40 | |||||
S Mar 13, 2022 at 9:36 | history | asked | user108721 | CC BY-SA 4.0 |