Math library uses only double.