#NEWLINE# def test_issue_8821_highprec_from_str( ) : #NEWLINE# #INDENT# s = str ( pi . evalf ( 128 ) ) #NEWLINE# p = N ( s ) #NEWLINE# assert ( Abs ( sin ( p ) ) < 1e-15 ) #NEWLINE# p = N ( s , 64 ) #NEWLINE# assert ( Abs ( sin ( p ) ) < 1e-64 )