code: def float_power(
      x1: Union[JaxArray, float, list, tuple],
      x2: Union[JaxArray, float, list, tuple],
      /,
      *,
      out: Optional[JaxArray] = None,
  ) -> JaxArray:
      x1, x2 = promote_types_of_inputs(x1, x2)
      if jnp.any(jnp.iscomplex(x1)) or jnp.any(jnp.iscomplex(x2)):
          out_dtype = jnp.complex128
      else:
          out_dtype = jnp.float64
      return jnp.float_power(x1, x2).astype(out_dtype)
  
imports: import operator
  from typing import Optional, Union, Tuple, List, Sequence
  from numbers import Number
  from ivy import promote_types_of_inputs, default_float_dtype, is_float_dtype
  from ivy.func_wrapper import with_supported_dtypes
  from ivy.functional.backends.jax import JaxArray
  import jax.numpy
  import jax.scipy
  import jax.lax
  from ..None import backend_version
label_desc: Use image node_id 6 for calling a global function with example usage: float_power() and returns: jnp