#NEWLINE# @ lower_builtin ( '/' , types . Integer , types . Integer ) #NEWLINE# def int_truediv_impl( context , builder , sig , args ) : #NEWLINE# #INDENT# [ va , vb ] = args #NEWLINE# [ ta , tb ] = sig . args #NEWLINE# a = context . cast ( builder , a , ta , sig . return_type ) #NEWLINE# b = context . cast ( builder , vb , tb , sig . return_type ) #NEWLINE# with cgutils . if_zero ( builder , b ) : #NEWLINE# #INDENT# context . error_model . fp_zero_division ( builder , ( 'division by zero' , ) ) #NEWLINE# #UNINDENT# res = builder . fdiv ( a , b ) #NEWLINE# return impl_ret_untracked ( context , builder , sig . return_type , res )