[gfortran] Implement MODULO

Paul Brook paul@nowt.org
Fri Aug 22 22:55:00 GMT 2003


The attached patch implements the MODULO intrinsic. It still has issues with 
large numbers, but then so does the existing MOD implementation.

Applied to tree-ssa branch.

Paul

2003-08-22  Kejia Zhao  <kejia_zh@yahoo.com.cn>

	* trans-instinsic.c (gfc_conv_intrinsic_mod): Also do MODULO.
	(gfc_conv_intrinsic_function): Add MODULO.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-diff
Size: 2396 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030822/b448b4cf/attachment.bin>


More information about the Gcc-patches mailing list