Ladybug detects automatically some math constants such as pi or e, but needs the BCMath extension to do it. In case it is not installed, it should not check for math constants (Ladybug\Type\FloatType::detectMathConstant()).
More info: https://github.com/raulfraile/LadybugBundle/issues/45