Add an explicit cast to avoid warnings when compiling with this option. While just casting double to float is not the best idea, it seems quite unlikely that anybody would pass a value outside of float range to this ctor.
Add an explicit cast to avoid warnings when compiling with this option. While just casting double to float is not the best idea, it seems quite unlikely that anybody would pass a value outside of float range to this ctor.