contents(algo): fix typo in math cheat sheet (#276)

* Fix typo in math cheat sheet

* Update math.md

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
pull/278/head
Jason Mustafa 3 years ago committed by GitHub
parent a51384222b
commit c696505835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,7 +47,7 @@ When a question involves "whether a number is a multiple of X", the modulo opera
### Comparing floats
When dealing with floating point numbers, take note of rounding mistakes. Consider using epsilon comparisons instead of equality checks. E.g. `abs(x - y) <= 10e7` instead of `x == y`.
When dealing with floating point numbers, take note of rounding mistakes. Consider using epsilon comparisons instead of equality checks. E.g. `abs(x - y) <= 1e-6` instead of `x == y`.
### Fast operators

Loading…
Cancel
Save