Java Math library.