Math involves the manipulation of numbers within a program. For general math questions, please ask on math.stackexchange.com. Note: If your question is about unexpected results in floating point calculations, please read https://stackoverflow.com/questions/588004/is-floating-point-math-broken first.
Mathematics is the study of quantity, structure, space, and change. Mathematicians seek out patterns, formulate new conjectures, and establish truth by rigorous deduction from appropriately chosen axioms and definitions.
Through the use of abstraction and logical reasoning, mathematics evolved from counting, calculation, measurement, and the systematic study of the shapes and motions of physical objects. Practical mathematics has been a human activity for as far back as written records exist.
Mathematics is behind all programming at some level, but math questions here should be specifically related to a programmed implementation. General math questions can be asked at Mathematics. Research level mathematics questions can be asked at MathOverflow.
Notable math questions that may be dupe targets. Check these questions before asking again!
- Is floating point math broken?
- Why can't decimal numbers be represented exactly in binary?
- Determine Whether Two Date Ranges Overlap
- What is the difference between '/' and '//' when used for division?
- What is JavaScript's highest integer value that a number can go to without losing precision?
- Difference between Math.Floor() and Math.Truncate()
- How can I check for NaN values?