code: def float_factorial(n: int) -> float:
      """Compute the factorial and return as a float
  
      Returns infinity when result is too large for a double
      """
      return float(math.factorial(n)) if n < 171 else cupy.inf
  
file_path: cupy/cupyx/scipy/signal/_savitzky_golay.py
imports: import math
  import cupy
  from cupy.linalg import lstsq
  from cupyx.scipy.ndimage import convolve1d
  from ._arraytools import axis_slice
label_desc: Use image node_id 1 for calling a global function with example usage: float_factorial(n) and returns: unknown