#NEWLINE# @ testing . with_requires ( 'numpy>=1.10' ) #NEWLINE# @ testing . numpy_cupy_array_equal ( ) #NEWLINE# def test_linspace_float_underflow( self , xp ) : #NEWLINE# #INDENT# x = sys . float_info . min #NEWLINE# while ( ( x / 2 ) > 0 ) : #NEWLINE# #INDENT# x /= 2 #NEWLINE# #UNINDENT# return xp . linspace ( 0.0 , x , 10 , dtype = float )