#NEWLINE# def _eval_rewrite_as_Pow( self , arg ) : #NEWLINE# #INDENT# if ( arg . func is log ) : #NEWLINE# #INDENT# I = S . ImaginaryUnit #NEWLINE# x = arg . args [ 0 ] #NEWLINE# return ( ( ( - I ) * ( ( x ** ( - I ) ) + ( x ** I ) ) ) / ( ( x ** ( - I ) ) - ( x ** I ) ) )