use fabsf instead abs