# math 746

- Is floating point math broken?
- Fastest way to determine if an integer's square root is an integer
- Easy interview question got harder: given numbers 1..100, find the missing number(s)
- Determine Whether Two Date Ranges Overlap
- Designing function f(f(n)) == -n
- Understanding “randomness”
- What is JavaScript's highest integer value that a number can go to without losing precision?
- How do I determine whether my calculation of pi is accurate?
- Calculate distance between two latitude-longitude points? (Haversine formula)
- Integer division with remainder in JavaScript?
- Divide a number by 3 without using *, /, +, -, % operators
- How can I check for NaN in Python?
- How to sum array of numbers in Ruby?
- How to check if a number is a power of 2
- Difference between Math.Floor() and Math.Truncate()
- Fastest way to determine if an integer is between two integers (inclusive) with known sets of values
- Is there a standard sign function (signum, sgn) in C/C++?
- Fastest way to list all primes below N
- JavaScript math, round to two decimal places
- What is “entropy and information gain”?
- Calculate distance between 2 GPS coordinates
- In Python 2, what is the difference between '/' and '//' when used for division?
- How to round up the result of integer division?
- Too many 'if' statements?
- Why can't decimal numbers be represented exactly in binary?
- What is the standard way to add N seconds to datetime.time in Python?
- Evaluating a math expression given in string form
- How can I ensure that a division of integers is always rounded up?
- Calculating arithmetic mean (average) in Python
- How to determine if a point is in a 2D triangle?
- The most efficient way to implement an integer based power function pow(int, int)
- What are the most widely used C++ vector/matrix math/linear algebra libraries, and their cost and benefit tradeoffs?
- Why is division in Ruby returning an integer instead of decimal value?
- How does C compute sin() and other math functions?
- How to determine if a list of polygon points are in clockwise order?
- How can I round down a number in Javascript?
- How can I divide two integers to get a double?
- Mapping two integers to one, in a unique and deterministic way
- How do I calculate a point on a circle’s circumference?
- Convert a number range to another range, maintaining ratio
- Fast ceiling of an integer division in C / C++
- What are the mathematical/computational principles behind this game?
- JavaScript % (modulo) gives a negative result for negative numbers
- How can I specify the base for Math.log() in JavaScript?
- How to scale down a range of numbers with a known min and max value
- Is log(n!) = Θ(n·log(n))?
- Circle line-segment collision detection algorithm?
- Largest prime factor of a number
- Why prefer two's complement over sign-and-magnitude for signed numbers?
- Safest way to convert float to integer in python?