Mac OS X 10.4.9 for x86 Source Code gcc 实现源代码

源代码在线查看: intrinsic_merge.f90

软件大小: 38649 K
上传用户: liuchuyuan
关键词: Source Code Mac for
下载地址: 免注册下载 普通下载 VIP

相关代码

				! Program to test the MERGE intrinsic				program intrinsic_merge				   integer, dimension(3) :: a, b				   integer i								   a = (/-1, 2, 3/)								   i = 5				   if (merge (-1, 1, i .gt. 3) .ne. -1) call abort				   i = 1				   if (merge (-1, 1, i .ge. 3) .ne. 1) call abort								   b = merge(a, 0, a .ge. 0)				   if (any (b .ne. (/0, 2, 3/))) call abort				end program							

相关资源