Skip to main content

Timeline for Simple integer operation calculator

Current License: CC BY-SA 3.0

66 events
when toggle format what by license comment
May 17, 2021 at 2:46 answer added Razetime timeline score: 0
May 17, 2021 at 1:30 answer added NoLongerBreathedIn timeline score: 0
Nov 13, 2017 at 19:29 answer added FedeWar timeline score: 1
Jun 7, 2017 at 6:11 history edited anna328p CC BY-SA 3.0
deleted 56 characters in body
Nov 14, 2016 at 21:02 history edited anna328p CC BY-SA 3.0
added 1 character in body
Sep 28, 2016 at 15:03 answer added rnso timeline score: 1
Sep 28, 2016 at 13:54 answer added t-clausen.dk timeline score: 0
Sep 5, 2016 at 9:36 answer added BlackCap timeline score: 1
Sep 3, 2016 at 21:51 history edited anna328p CC BY-SA 3.0
cleanified implementation
Sep 3, 2016 at 21:44 comment added anna328p @Adám no, they must be exactly as specified. Sorry.
Sep 3, 2016 at 21:44 comment added anna328p @MartinEnder xnor did that for me
Sep 3, 2016 at 21:43 comment added anna328p @TonHospel It outputs 0 because the accumulator starts at 0 and changes only with operations.
Sep 1, 2016 at 13:46 answer added Shaun Wild timeline score: 1
Sep 1, 2016 at 2:39 answer added Ian Chew timeline score: 1
Aug 30, 2016 at 21:09 answer added primodemus timeline score: 3
Aug 30, 2016 at 10:50 answer added Ismael Miguel timeline score: 3
Aug 30, 2016 at 8:09 comment added seshoumara @TobySpeight you can divide this way in dc to have the desired rounding: [1-]S@d0>@2/, because the default output precision is 0 (see my answer)
Aug 30, 2016 at 7:39 answer added Kevin Cruijssen timeline score: 1
Aug 30, 2016 at 6:54 comment added Adám May we substitute the symbols with +-×÷ or 'PMTD'?
Aug 30, 2016 at 2:41 answer added xsot timeline score: 1
Aug 29, 2016 at 19:54 answer added Jörg Hülsermann timeline score: 5
Aug 29, 2016 at 15:06 answer added Vlo timeline score: 2
Aug 29, 2016 at 15:05 answer added KoreanwGlasses timeline score: 10
Aug 29, 2016 at 14:58 answer added user56344 timeline score: 8
Aug 29, 2016 at 14:27 answer added TheBikingViking timeline score: 1
Aug 29, 2016 at 14:22 answer added Scepheo timeline score: 4
Aug 29, 2016 at 13:39 answer added Paul Schmitz timeline score: 1
Aug 29, 2016 at 13:27 answer added YetiCGN timeline score: 2
Aug 29, 2016 at 13:23 comment added Toby Speight Curse that nasty round-down requirement! I had a nice 41-byte GNU sed + dc answer: s/[+-]/1&/g;s/[*/]/2&/g;s/.*/dc -e 0d&p/e, but it rounds towards zero when you divide a negative :-(
Aug 29, 2016 at 13:21 answer added Florin Chis timeline score: 1
Aug 29, 2016 at 11:03 answer added Arnauld timeline score: 4
Aug 29, 2016 at 10:52 answer added seshoumara timeline score: 3
Aug 29, 2016 at 10:30 answer added Stefano Sanfilippo timeline score: 1
Aug 29, 2016 at 10:23 answer added Neil timeline score: 2
Aug 29, 2016 at 10:13 answer added Blue timeline score: 2
Aug 29, 2016 at 10:11 history edited xnor CC BY-SA 3.0
added 1180 characters in body
Aug 29, 2016 at 10:01 answer added xnor timeline score: 28
Aug 29, 2016 at 9:54 answer added edc65 timeline score: 3
Aug 29, 2016 at 9:25 answer added Winnie The Pooh timeline score: 1
Aug 29, 2016 at 8:35 history tweeted twitter.com/StackCodeGolf/status/770178023475773440
Aug 29, 2016 at 7:38 comment added Martin Ender Please add more test cases.
Aug 29, 2016 at 7:11 comment added Ton Hospel Does the program have to handle the empty input string ?
Aug 29, 2016 at 7:04 answer added Leaky Nun timeline score: 4
Aug 29, 2016 at 6:41 comment added Yytsi My recursive solution returns an floating point number. Is this allowed? The results are correct, but they contain .0 at the end.
Aug 29, 2016 at 6:40 answer added Yytsi timeline score: 1
Aug 29, 2016 at 4:13 comment added anna328p @Zwei That's exactly where I got this challenge.
Aug 29, 2016 at 3:23 comment added Zwei I can't help but notice that the snippet of code featured on the home page of rust-lang solves this challenge.
Aug 29, 2016 at 2:22 answer added Jonathan Allan timeline score: 4
Aug 29, 2016 at 1:55 answer added betseg timeline score: 10
Aug 29, 2016 at 1:34 answer added Jordan timeline score: 5
Aug 29, 2016 at 0:47 answer added xsot timeline score: 10
Aug 29, 2016 at 0:41 history edited anna328p CC BY-SA 3.0
added 39 characters in body
Aug 29, 2016 at 0:33 answer added LegionMammal978 timeline score: 4
Aug 29, 2016 at 0:08 answer added Destructible Lemon timeline score: 2
Aug 29, 2016 at 0:07 comment added Dennis @LegionMammal978 Yet the reference implementation returns -1.
Aug 28, 2016 at 23:58 comment added LegionMammal978 @Dennis Well, C truncation says it should round to 0, so that should be 0...
Aug 28, 2016 at 23:32 comment added Dennis What should -/ return?
Aug 28, 2016 at 23:28 answer added Conor O'Brien timeline score: 5
Aug 28, 2016 at 23:26 answer added Brad Gilbert b2gills timeline score: 8
Aug 28, 2016 at 23:23 answer added nimi timeline score: 12
Aug 28, 2016 at 23:12 answer added Dennis timeline score: 12
Aug 28, 2016 at 23:07 answer added Adnan timeline score: 6
Aug 28, 2016 at 22:56 history edited anna328p CC BY-SA 3.0
added 54 characters in body
Aug 28, 2016 at 22:55 comment added Conor O'Brien Then you should specify this explicitly.
Aug 28, 2016 at 22:52 comment added Conor O'Brien So... it's not strictly integer, since / can yield non-integers.
Aug 28, 2016 at 22:51 history asked anna328p CC BY-SA 3.0