cosmicfish_pylib.utilities.mant_exp_to_num

cosmicfish_pylib.utilities.mant_exp_to_num(mant_exp)[source]

This function returns a float built with the given (base 10) mantissa and exponent.

Parameters:mant_exp (tuple) – (mantissa, exponent) a tuple of two int with the mantissa and the exponent of the input number.
Returns:output number built as mantissa*10**exponent.
Return type:float