Skip to main content

Timeline for Reciprocal of a number (1/x)

Current License: CC BY-SA 3.0

188 events
when toggle format what by license comment
Jun 7, 2023 at 7:53 answer added The Thonnu timeline score: 0
Feb 19, 2023 at 15:36 answer added The Thonnu timeline score: 0
Feb 19, 2023 at 0:17 answer added Kai Burghardt timeline score: 1
Feb 18, 2023 at 22:40 answer added Kip the Malamute timeline score: 1
Oct 3, 2022 at 21:07 answer added chunes timeline score: 1
Oct 3, 2022 at 16:17 answer added Seggan timeline score: 2
Oct 3, 2022 at 15:23 answer added bigyihsuan timeline score: 1
Oct 3, 2022 at 13:26 answer added pacman256 timeline score: 2
Jan 21, 2020 at 4:57 answer added lyxal timeline score: 3
Jan 20, 2020 at 23:04 answer added user85052 timeline score: 1
Sep 15, 2019 at 5:18 answer added user85052 timeline score: 1
Mar 22, 2018 at 2:04 answer added Allen Fisher timeline score: 1
Mar 18, 2018 at 15:31 answer added Jhynjhiruu Rekrap timeline score: 0
Feb 1, 2018 at 18:10 answer added Conor O'Brien timeline score: 0
Oct 19, 2017 at 4:49 answer added ATaco timeline score: 0
Oct 19, 2017 at 4:22 answer added ceilingcat timeline score: 2
Jul 11, 2017 at 20:12 comment added Value Ink I'm assuming that fraction number formats cannot be outputted?
Jul 11, 2017 at 19:56 history edited anna328p CC BY-SA 3.0
added 6 characters in body
May 25, 2017 at 20:06 answer added Magic Octopus Urn timeline score: 0
S Apr 24, 2017 at 13:10 history bounty ended Riley
S Apr 24, 2017 at 13:10 history notice removed Riley
Apr 23, 2017 at 3:31 answer added Graviton timeline score: 0
Apr 20, 2017 at 4:23 answer added user5434231 timeline score: 1
Apr 19, 2017 at 6:07 answer added msh210 timeline score: 0
Apr 18, 2017 at 17:50 answer added fireflame241 timeline score: 0
Apr 18, 2017 at 2:51 answer added GamrCorps timeline score: 0
Apr 17, 2017 at 22:14 answer added dv02 timeline score: 2
Apr 17, 2017 at 22:08 comment added anna328p @RosLuP 4 significant digits\, that input will never occur because it is basically 0
Apr 17, 2017 at 20:06 history edited Wheat Wizard CC BY-SA 3.0
added 14 characters in body
Apr 17, 2017 at 19:54 comment added user58988 And what has to happen with input 0.0000001?
Apr 17, 2017 at 18:20 answer added Beta Decay timeline score: 0
Apr 17, 2017 at 13:55 answer added user58988 timeline score: 0
Apr 17, 2017 at 13:36 answer added Enderperson1010 timeline score: 0
S Apr 17, 2017 at 13:15 history bounty started Riley
S Apr 17, 2017 at 13:15 history notice added Riley Reward existing answer
S Apr 15, 2017 at 21:56 history bounty ended DJMcMayhem
S Apr 15, 2017 at 21:56 history notice removed DJMcMayhem
Apr 14, 2017 at 20:26 answer added user58826 timeline score: 0
Apr 13, 2017 at 12:39 history edited CommunityBot
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Apr 10, 2017 at 10:29 answer added L3viathan timeline score: 0
Apr 9, 2017 at 8:05 answer added stevefestl timeline score: 0
Apr 9, 2017 at 7:14 answer added Koishore Roy timeline score: 0
S Apr 8, 2017 at 21:31 history bounty started DJMcMayhem
S Apr 8, 2017 at 21:31 history notice added DJMcMayhem Reward existing answer
Apr 8, 2017 at 20:37 comment added anna328p @DJMcMayhem Your bounty can now be assigned
S Apr 8, 2017 at 20:33 history bounty ended anna328p
S Apr 8, 2017 at 20:33 history notice removed anna328p
Apr 6, 2017 at 12:36 answer added seshoumara timeline score: 8
Apr 5, 2017 at 14:19 answer added Robert Benson timeline score: 0
Apr 5, 2017 at 12:11 answer added idrougge timeline score: 0
Apr 5, 2017 at 12:08 history edited fəˈnɛtɪk CC BY-SA 3.0
Inserted leaderboard snippet thingy
S Apr 3, 2017 at 23:35 history suggested user63187 CC BY-SA 3.0
fixed some errors
Apr 3, 2017 at 23:13 review Suggested edits
S Apr 3, 2017 at 23:35
Apr 3, 2017 at 21:33 answer added caird coinheringaahin g timeline score: 1
Apr 2, 2017 at 7:30 comment added user41805 @SIGSEGV That's precisely why there are bounties for these languages
Apr 2, 2017 at 4:58 answer added Matthew Roh timeline score: 0
Apr 2, 2017 at 4:51 comment added Matthew Roh Argh, all the languages on bounty has no division at all!
Apr 2, 2017 at 4:43 answer added rnso timeline score: 0
Apr 2, 2017 at 4:31 answer added Christopher Pitts timeline score: 1
Apr 2, 2017 at 4:28 answer added Christopher Pitts timeline score: 1
Apr 2, 2017 at 0:40 answer added caird coinheringaahin g timeline score: 1
Apr 1, 2017 at 20:12 history edited anna328p CC BY-SA 3.0
added 1 character in body
S Apr 1, 2017 at 20:06 history bounty started anna328p
S Apr 1, 2017 at 20:06 history notice added anna328p Canonical answer required
Apr 1, 2017 at 20:05 comment added anna328p @MartinEnder Yes
Apr 1, 2017 at 18:35 answer added user41805 timeline score: 19
Apr 1, 2017 at 17:22 comment added Wheat Wizard @Tim I believe that is only the case for a single user. Separate users can bounty how they see fit.
Apr 1, 2017 at 16:42 comment added user41805 Can we output with trailing zeroes? For example, outputting .5000000000 for input 2
Apr 1, 2017 at 9:06 comment added Tim Those bounties are not able to be given. You cannot do arbitrary amounts repeatedly. You can do 50, 100, 200, 400 then 500
Apr 1, 2017 at 7:36 comment added anna328p @KritixiLithos Sure...
Apr 1, 2017 at 6:21 comment added user41805 Can we round the answer? Say for input 11 we output .090909091
Apr 1, 2017 at 1:44 history edited anna328p CC BY-SA 3.0
added 419 characters in body
Mar 31, 2017 at 21:48 comment added Eric Duminil As a bonus, your title contains a huge part of the solution for dozens of languages.
Mar 31, 2017 at 19:45 answer added adrianmp timeline score: 1
Mar 31, 2017 at 19:22 answer added L3viathan timeline score: 18
Mar 31, 2017 at 15:44 answer added Redouane Red timeline score: 2
Mar 31, 2017 at 15:16 answer added tkellehe timeline score: 1
Mar 31, 2017 at 13:46 comment added Poke Can scientific notation be used for output?
Mar 31, 2017 at 12:46 answer added jdt timeline score: 3
Mar 31, 2017 at 12:43 answer added Max Mikhaylov timeline score: 2
S Mar 31, 2017 at 12:40 history suggested user36219 CC BY-SA 3.0
Made unambiguous and mathematically correct terminology
Mar 31, 2017 at 12:35 review Suggested edits
S Mar 31, 2017 at 12:40
Mar 31, 2017 at 12:32 answer added Timtech timeline score: 1
Mar 31, 2017 at 8:36 answer added Stefan Aleksić timeline score: 1
Mar 31, 2017 at 8:34 answer added peech timeline score: 2
Mar 31, 2017 at 7:55 answer added Rudier timeline score: 4
Mar 31, 2017 at 7:04 answer added Martin Ender timeline score: 38
Mar 31, 2017 at 7:04 comment added Martin Ender Can we output results below 1 as .123 (i.e. without the leading zero)?
Mar 31, 2017 at 7:04 answer added Fatalize timeline score: 2
Mar 31, 2017 at 6:31 answer added Christoph timeline score: 1
Mar 31, 2017 at 5:57 answer added adrianmp timeline score: 2
Mar 31, 2017 at 5:32 review Close votes
Mar 31, 2017 at 9:55
Mar 31, 2017 at 5:20 answer added Clashsoft timeline score: 0
Mar 31, 2017 at 5:12 comment added feersum -1, this is a poor challenge because using a builtin is the ONLY way to do it and know you have satisfied the "specification". If you have a standard floating point implementation, you can use it and tell yourself this is standard floating point, it must be ok. If you have to implement it yourself, there is no specification so you can't sensibly try to golf it.
Mar 31, 2017 at 4:25 answer added assefamaru timeline score: 1
Mar 31, 2017 at 3:46 history tweeted twitter.com/StackCodeGolf/status/847656219942633474
Mar 31, 2017 at 3:45 answer added Brad Gilbert b2gills timeline score: 3
Mar 31, 2017 at 2:12 answer added pizzapants184 timeline score: 5
Mar 31, 2017 at 1:56 answer added Taylor Raine timeline score: 1
Mar 31, 2017 at 1:39 comment added anna328p @WheatWizard Yeah
Mar 31, 2017 at 1:39 comment added anna328p @L3viathan Sure, I guess
Mar 31, 2017 at 1:14 answer added Brian McCutchon timeline score: 1
Mar 31, 2017 at 0:28 answer added Wheat Wizard timeline score: 59
Mar 31, 2017 at 0:08 history reopened ATaco
MercyBeaucou
Timtech
Wheat Wizard
L3viathan
Mar 30, 2017 at 23:53 comment added Wheat Wizard Can we have our input padded with extra zeros. E.g. instead of 5 we take 5.00000 as input?
Mar 30, 2017 at 23:19 comment added L3viathan @MendeleevLemon Can we e.g. choose to round 0.12345 as 0.1234?
Mar 30, 2017 at 23:03 comment added anna328p @L3viathan Yes.
Mar 30, 2017 at 23:03 comment added anna328p @MartinEnder Please clarify.
Mar 30, 2017 at 22:13 review Reopen votes
Mar 31, 2017 at 0:10
Mar 30, 2017 at 21:52 comment added L3viathan @MendeleevLemon May the output have leading zeroes? (e.g. 000.3333 or 024.424)
Mar 30, 2017 at 21:34 comment added Martin Ender @MendeleevLemon Can we choose how to round?
Mar 30, 2017 at 21:19 history edited anna328p CC BY-SA 3.0
added 238 characters in body
Mar 30, 2017 at 20:55 history closed Martin Ender Needs details or clarity
Mar 30, 2017 at 20:47 comment added AdmBorkBork This is still really underspecified and shouldn't have been re-opened.
Mar 30, 2017 at 20:31 answer added DJMcMayhem timeline score: 20
Mar 30, 2017 at 20:29 answer added flawr timeline score: 4
Mar 30, 2017 at 20:29 comment added mbomb007 @MendeleevLemon Don't be so stringent on input format. A language can have different data types, making x an integer, and x.0 a decimal/float. A language should be able to use its native representation of a floating point number, if it has one.
Mar 30, 2017 at 20:27 comment added Peter Taylor What about accuracy? Presumably you want 4 sf of accuracy too, but then there's the issue of rounding. Floating point questions are hard to get right and very worth sandboxing.
Mar 30, 2017 at 20:26 comment added anna328p @MartinEnder All numbers you will be given are 4 significant or less. they can be given in 0.x, x, x.y, but not x.0 or .x
Mar 30, 2017 at 20:25 answer added ceilingcat timeline score: 11
Mar 30, 2017 at 20:24 comment added anna328p @MartinEnder No
Mar 30, 2017 at 20:21 comment added Martin Ender And then can we assume that we'll always do get 4 significant digits? I.e. can we assume that 12.3 won't be given as input, but at least 12.30 instead?
Mar 30, 2017 at 20:19 comment added Martin Ender So how exactly does the input format work for very large or small numbers? Do we assume that there's always a . somewhere, at least one digit before and one digit after, and we ignore the exact value of all digits past the fourth from the first non-zero one? So input 123400.0 would be treated identically to 123456.78?
Mar 30, 2017 at 20:18 answer added mbomb007 timeline score: 2
Mar 30, 2017 at 20:13 answer added Neil timeline score: 4
Mar 30, 2017 at 20:03 comment added seshoumara @ГригорийПерельман That is interesting, but now the point of saving bytes is defeated, so I might as well take the input in decimal, as the OP prefers.
S Mar 30, 2017 at 19:58 history suggested L3viathan CC BY-SA 3.0
Bounty promise for OIL
Mar 30, 2017 at 19:54 review Suggested edits
S Mar 30, 2017 at 19:58
Mar 30, 2017 at 19:50 comment added Pavel @Lynn idea: the part after the decimal is reversed. So 3.5 is 000.00000, 1.15 is 0.0<51 zeroes>, 3.05 is 000.<50 zeroes>
Mar 30, 2017 at 19:45 answer added Conor O'Brien timeline score: 32
Mar 30, 2017 at 19:43 answer added steenbergh timeline score: 1
Mar 30, 2017 at 19:43 history edited Riley CC BY-SA 3.0
edited body
Mar 30, 2017 at 19:41 history edited Erik the Outgolfer CC BY-SA 3.0
Come on, Sesos!
Mar 30, 2017 at 19:36 answer added Erik the Outgolfer timeline score: 0
Mar 30, 2017 at 19:33 history reopened seshoumara
Conor O'Brien
Mr. Xcoder
Steadybox
anna328p
Mar 30, 2017 at 19:31 answer added Erik the Outgolfer timeline score: 16
Mar 30, 2017 at 19:25 review Reopen votes
Mar 30, 2017 at 19:35
Mar 30, 2017 at 19:15 comment added lynn What about 3.05 then? That needs to be distinguishable for 3.5, they can’t both be 000.00000.
Mar 30, 2017 at 19:07 comment added anna328p @seshoumara I guess... Would make it uninteresting though. I would prefer the (much harder) decimal alternative
Mar 30, 2017 at 19:06 comment added Pavel @DigitalTrauma 000.<1415 zeroes>
Mar 30, 2017 at 19:02 comment added Digital Trauma @seshoumara How would you enter 3.1415 in unary?
Mar 30, 2017 at 19:02 history closed Peter Taylor
user45941
xnor
NoOneIsHere
Pavel
Needs details or clarity
Mar 30, 2017 at 18:57 comment added NoOneIsHere @MartinEnder What I am saying is using most languages make the answer "uninteresting", but in any other language, the answer is bounty-worthy.
Mar 30, 2017 at 18:55 answer added Conor O'Brien timeline score: 6
Mar 30, 2017 at 18:51 answer added powelles timeline score: 16
Mar 30, 2017 at 18:47 comment added seshoumara Regarding sed and Retina, there is a meta consensus that the input can be in unary. For floating point input I guess '3.5' can be given as '000.00000'. Do you allow it?
Mar 30, 2017 at 18:42 answer added ETHproductions timeline score: 7
Mar 30, 2017 at 18:38 answer added seshoumara timeline score: 3
Mar 30, 2017 at 18:35 history edited DJMcMayhem CC BY-SA 3.0
Added Meeself
Mar 30, 2017 at 18:32 answer added Dennis timeline score: 48
Mar 30, 2017 at 18:28 answer added Dennis timeline score: 3
Mar 30, 2017 at 18:26 review Close votes
Mar 30, 2017 at 18:35
Mar 30, 2017 at 18:23 history edited anna328p CC BY-SA 3.0
added spec
Mar 30, 2017 at 18:21 answer added Uriel timeline score: 7
Mar 30, 2017 at 18:21 answer added DJMcMayhem timeline score: 16
Mar 30, 2017 at 18:19 answer added Pavel timeline score: 1
Mar 30, 2017 at 18:17 history edited Riley CC BY-SA 3.0
added 16 characters in body
Mar 30, 2017 at 18:15 comment added Adnan Related
Mar 30, 2017 at 18:14 answer added Patrick Roberts timeline score: 2
Mar 30, 2017 at 18:12 answer added xenia timeline score: 16
Mar 30, 2017 at 18:11 comment added anna328p @PeterTaylor Different languages implement floating point numbers very differently. I can't think of a good way to write a spec. I would really appreciate help.
Mar 30, 2017 at 18:10 history edited anna328p CC BY-SA 3.0
added 14 characters in body
Mar 30, 2017 at 18:10 comment added Peter Taylor This isn't objectively specified without very clear detail on accuracy and precision.
Mar 30, 2017 at 18:10 comment added Martin Ender @NoOneIsHere ...until people have had enough time to implement the reciprocal in languages without floating point numbers and/or division.
Mar 30, 2017 at 18:09 answer added Steadybox timeline score: 1
Mar 30, 2017 at 18:09 answer added Martin Ender timeline score: 0
Mar 30, 2017 at 18:08 comment added NoOneIsHere @KritixiLithos People can vote as they see fit. Given the simplicity of this challenge, most, if not all answers are something like 1/x.
Mar 30, 2017 at 18:07 answer added Uriel timeline score: 2
Mar 30, 2017 at 18:07 answer added anna328p timeline score: 3
Mar 30, 2017 at 18:06 answer added Steadybox timeline score: 11
Mar 30, 2017 at 18:04 answer added NoOneIsHere timeline score: 1
Mar 30, 2017 at 18:04 comment added user41805 Please stop upvoting trivial answers
Mar 30, 2017 at 18:03 history edited anna328p CC BY-SA 3.0
added 48 characters in body
Mar 30, 2017 at 18:02 history edited anna328p CC BY-SA 3.0
added 7 characters in body
Mar 30, 2017 at 18:01 answer added quintopia timeline score: 2
Mar 30, 2017 at 18:01 history edited anna328p CC BY-SA 3.0
added 27 characters in body
Mar 30, 2017 at 18:01 answer added NoOneIsHere timeline score: 2
Mar 30, 2017 at 18:00 answer added Suever timeline score: 9
Mar 30, 2017 at 17:59 answer added Martin Ender timeline score: 4
Mar 30, 2017 at 17:59 answer added xenia timeline score: 4
Mar 30, 2017 at 17:59 answer added Business Cat timeline score: 1
Mar 30, 2017 at 17:58 answer added Riley timeline score: 10
Mar 30, 2017 at 17:58 history edited anna328p CC BY-SA 3.0
added 64 characters in body
Mar 30, 2017 at 17:57 answer added anna328p timeline score: 2
Mar 30, 2017 at 17:57 answer added fəˈnɛtɪk timeline score: 7
Mar 30, 2017 at 17:56 answer added Suever timeline score: 4
Mar 30, 2017 at 17:55 answer added xenia timeline score: 5
Mar 30, 2017 at 17:53 history asked anna328p CC BY-SA 3.0