code: def number(
      draw,
      *,
      min_value=None,
      max_value=None,
      large_abs_safety_factor=1.1,
      small_abs_safety_factor=1.1,
      safety_factor_scale="linear",
      mixed_fn_compos=True,
  ):
      """Draws integers or floats with a safety factor applied to values.
  
      Parameters
      ----------
      draw
          special function that draws data randomly (but is reproducible) from a given
          data-set (ex. list).
      min_value
          minimum value of integers generated.
      max_value
          maximum value of integers generated.
      large_abs_safety_factor
          A safety factor of 1 means that all values are included without limitation,
  
          when a "linear" safety factor scaler is used,  a safety factor of 2 means
          that only 50% of the range is included, a safety factor of 3 means that
          only 33% of the range is included etc.
  
          when a "log" safety factor scaler is used, a data type with maximum
          value of 2^32 and a safety factor of 2 transforms the maximum to 2^16.
      small_abs_safety_factor
          A safety factor of 1 means that all values are included without limitation,
          this has no effect on integer data types.
  
          when a "linear" safety factor scaler is used, a data type with minimum
          representable number of 0.0001 and a safety factor of 2 transforms the
          minimum to 0.0002, a safety factor of 3 transforms the minimum to 0.0003 etc.
  
          when a "log" safety factor scaler is used, a data type with minimum
          representable number of 0.5 * 2^-16 and a safety factor of 2 transforms the
          minimum to 0.5 * 2^-8, a safety factor of 3 transforms the minimum to 0.5 * 2^-4
      safety_factor_scale
          The operation to use for the safety factor scaling. Can be "linear" or "log".
          Default value = "linear".
      mixed_fn_compos
          boolean if True, the function will generate using the numeric dtypes
          of the compositional implementation for mixed partial functions and
          if False, it will generate using the numeric dtypes of the
          primary implementation.
  
  
      Returns
      -------
      ret
          A strategy that draws integers or floats.
      """
      return draw(
          ints(
              min_value=min_value,
              max_value=max_value,
              safety_factor=large_abs_safety_factor,
              safety_factor_scale=safety_factor_scale,
              mixed_fn_compos=mixed_fn_compos,
          )
          | floats(
              min_value=min_value,
              max_value=max_value,
              small_abs_safety_factor=small_abs_safety_factor,
              large_abs_safety_factor=large_abs_safety_factor,
              safety_factor_scale=safety_factor_scale,
              mixed_fn_compos=mixed_fn_compos,
          )
      )
  
imports: from hypothesis import strategies
  from hypothesis.internal.floats import float_of
  from .None import general_helpers, dtype_helpers
  import ivy_tests.test_ivy.helpers.globals
label_desc: Use image node_id 3 for calling a global function with example usage: number(draw) and returns: draw