3 MODULE Compare_Float_Numbers
7 INTERFACE Compare_Float
8 MODULE PROCEDURE Compare_Float_Single
9 END INTERFACE Compare_Float
11 INTERFACE OPERATOR (.EqualTo
.)
12 MODULE PROCEDURE Is_Equal_To_Single
13 END INTERFACE OPERATOR (.EqualTo
.)
17 FUNCTION Is_Equal_To_Single(x
, y
) RESULT(Equal_To
)
18 REAL(4), INTENT(IN
) :: x
, y
21 END FUNCTION Is_Equal_To_Single
23 FUNCTION Compare_Float_Single(x
, y
) RESULT(Compare
)
24 REAL(4), INTENT(IN
) :: x
, y
27 END FUNCTION Compare_Float_Single
29 END MODULE Compare_Float_Numbers
31 ! { dg-final { cleanup-modules "Compare_Float_Numbers" } }