#NEWLINE# def dup_half_gcdex( self , f , g ) : #NEWLINE# #INDENT# ( s , h ) = dup_half_gcdex ( self . to_dense ( f ) , self . to_dense ( g ) , self . domain ) #NEWLINE# return ( self . from_dense ( s ) , self . from_dense ( h ) )