code: def test_validate_fp16_transcendentals(self, ufunc):
      with np.errstate(all="ignore"):
          arr = np.arange(65536, dtype=np.int16)
          datafp16 = np.frombuffer(arr.tobytes(), dtype=np.float16)
          datafp32 = datafp16.astype(np.float32)
          assert_array_max_ulp(
              ufunc(datafp16),
              ufunc(datafp32),
              maxulp=1,
              dtype=np.float16,
          )
  
file_path: catboost/contrib/python/numpy/py3/numpy/core/tests/test_umath_accuracy.py
imports: import numpy
  import os
  from os import path
  import sys
  import pytest
  from ctypes import c_longlong, c_double, c_float, c_int, cast, pointer, POINTER
  from numpy.testing import assert_array_max_ulp
  from numpy.testing._private.utils import _glibc_older_than
  from numpy.core._multiarray_umath import __cpu_features__
label_desc: Use image node_id 2 for calling the TestAccuracy obj's underlying member method code with example usage: obj.test_validate_fp16_transcendentals(ufunc) without return types