php precision math
Moderator: General Moderators
I find it to be arguing.Oren wrote:We are not arguing here, this is just curiosity.
However, lets put it to rest soundly.
The word for the bar on top of the numbers is called a "Vinculum", and it is an accepted math form worldwide for expressing repeated numbers.
http://www.pballew.net/arithme6.html#vinculum
It is used worldwide, in widely acclaimed books, and is the encouraged symbol to use in MathML (as an "overbar") for expressing repeated numbers. MathML is the international standard for math expressions.
Better, it is also what Mathematica ("The most widely used math program in the world") uses and suggests.
I'm really not sure how much more I could defend such a silly argument, but if you feel the need to continue, start another thread because it has absolutely NOTHING to do with whether accepting unfiltered posts is insecure.
Enough with the thread hijacking. If you have curiosities about floating point accuracy, and math terms, open a new thread!
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
You are almost there feydfeyd wrote:slightly off topic, but a 3-4-5 is a Pythagorean triangle.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
It is interesting, but not that suprising, that there are different names and conventions around the world. At least two have been mentioned here:
- The first is that 0.3 is shorthand for 1/3 some places, other places it is just 0.3 and 1/3 is 0.3333 or some other notation. I'm from the US so have never heard the former.
- The second is the use of the terms Pythagorean triangle and Egyptian Triangle. I know Pythagoras's theorem (a² + b² = c²). And I know the Egyptians and others found right triangles whose sides are whole numbers early on. But I've never heard of either term.
- The first is that 0.3 is shorthand for 1/3 some places, other places it is just 0.3 and 1/3 is 0.3333 or some other notation. I'm from the US so have never heard the former.
- The second is the use of the terms Pythagorean triangle and Egyptian Triangle. I know Pythagoras's theorem (a² + b² = c²). And I know the Egyptians and others found right triangles whose sides are whole numbers early on. But I've never heard of either term.
(#10850)
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland