docstr: Strings containing an unrepresentable float overflow 
docstr_tok: ["Strings","containing","an","unrepresentable","float","overflow"]
code: def test_floating_overflow(self):
      """Strings containing an unrepresentable float overflow"""
      fhalf = np.half("1e10000")
      assert_equal(fhalf, np.inf)
      fsingle = np.single("1e10000")
      assert_equal(fsingle, np.inf)
      fdouble = np.double("1e10000")
      assert_equal(fdouble, np.inf)
      flongdouble = assert_warns(
          RuntimeWarning, np.longdouble, "1e10000"
      )
      assert_equal(flongdouble, np.inf)
  
      fhalf = np.half("-1e10000")
      assert_equal(fhalf, -np.inf)
      fsingle = np.single("-1e10000")
      assert_equal(fsingle, -np.inf)
      fdouble = np.double("-1e10000")
      assert_equal(fdouble, -np.inf)
      flongdouble = assert_warns(
          RuntimeWarning, np.longdouble, "-1e10000"
      )
      assert_equal(flongdouble, -np.inf)
  
imports: import pytest
  import numpy
  from numpy.testing import assert_equal, assert_almost_equal, assert_warns
label_desc: Use image node_id 2 for calling the TestFromString obj's underlying member method code with example usage: obj.test_floating_overflow() without return types