Skip to main content

Timeline for Pi Calculation Code Golf

Current License: CC BY-SA 3.0

14 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
Feb 26, 2014 at 5:04 comment added Jason C @JerryCoffin Instead of arguing technicalities, suffice it to say that neither asin(-1) nor fldpi are particularly interesting or creative. There's not much purpose in competing to see whose favorite language has the shortest name for predefined trig functions and pi constants.
Feb 26, 2014 at 4:50 comment added Jerry Coffin @JasonC: Sounds like an entirely arbitrary notion to me, with no more real sense than my deciding that people had to implement addition, subtraction, multiplication and division on their own if they're doing to use them.
Feb 26, 2014 at 4:30 comment added Jason C What I mean to say is, I think fldpi doesn't count in the same way the higher level acos doesn't count (i.e. 99% of the answers here don't count). When I said "port this to assembler" above, that applies to most of the questions here, just replace "assembler" with the relevant language.
Feb 26, 2014 at 4:14 comment added Jerry Coffin @JasonC: I might agree if even a significant minority of those using higher level languages were using something like an expansion of a Taylor series or some such, but virtually all of them also using predefined sin, cos, atan, sqrt, etc.
Feb 26, 2014 at 4:07 comment added Jason C I don't think using a command that loads pi (or even computes it based on somebody else's asin implementation or any existing trig function implementations at all) really counts in the spirit of "calculating" anything (the "omg assembler" factor doesn't really change that). Perhaps port this to the shortest assembler implementation possible, and it can be called a "calculation".
Feb 25, 2014 at 21:11 history edited Jerry Coffin CC BY-SA 3.0
added 2 characters in body
Feb 25, 2014 at 20:29 history edited Jerry Coffin CC BY-SA 3.0
deleted 1 characters in body
Feb 25, 2014 at 20:27 comment added Jerry Coffin @NicolasBarbulesco: if memory serves, it did something like 6*asin(0.5), apparently because it converges quite quickly.
Feb 25, 2014 at 20:24 history edited Jerry Coffin CC BY-SA 3.0
added 314 characters in body
Feb 25, 2014 at 20:22 comment added TheMaskedCucumber And, on some processors, what calculcation would fldpi do ?
Feb 25, 2014 at 20:18 history edited Jerry Coffin CC BY-SA 3.0
added 314 characters in body
Feb 25, 2014 at 20:16 comment added TheMaskedCucumber Can you explain, please ?
Feb 25, 2014 at 20:11 history answered Jerry Coffin CC BY-SA 3.0