use abs()
Merge pull request #2 from rhysd/use_abs

use abs()