faheel / BigInt

Arbitrary-sized integer class for C++
https://faheel.github.io/BigInt
MIT License
390 stars 132 forks source link

Includes in math.hpp #9

Closed abelmarm closed 6 years ago

abelmarm commented 6 years ago

There weren't any includes in math.hpp file, after adding them abs function is failing, I'm working on it.

abelmarm commented 6 years ago

Ok, nevermind, the problem was when including cmath for the math.hpp test file, apparently it was conflicting with int abs(int) from the cmath library, I changed the name of the abs function to big_abs to avoid conflict, if you don't mind of course.