Add format_float_scientific function
@@ -63,3 +63,14 @@ def format_float_positional(x, *args, **kwargs):
"""
return numpy.format_float_positional(cupy.asnumpy(x), *args, **kwargs)
+
+
+def format_float_scientific(x, *args, **kwargs):
+ """Format a floating-point scalar as a decimal string in scientific notation.
+
+ See :func:`numpy.format_float_scientific` for the list of arguments.
+
+ .. seealso:: :func:`numpy.format_float_scientific`
+
+ """
+ return numpy.format_float_scientific(cupy.asnumpy(x), *args, **kwargs)
\ No newline at end of file
