libmath is deprecated