#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 ( ( ( x ** I ) / 2 ) + ( ( self ** ( - I ) ) / 2 ) )