Relational operator to test the equality of floating point numbers.

Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|

real(kind=rk), | intent(in) | :: | a | Floating point value to be compared. |
||

real(kind=rk), | intent(in) | :: | b | Floating point value to be compared. |

The result is a logical value indicating whether the operands are equal to within numerical precision.

Relational operator to test the equality of two arrays of floating point numbers.

Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|

real(kind=rk), | intent(in) | :: | a(:) | Floating point array to be compared. |
||

real(kind=rk), | intent(in) | :: | b(:) | Floating point array to be compared. |

The result is a logical value indicating whether the operands are equal to within numerical precision.