Ada Programming/Attributes/'Machine Rounding

Description
Yields the integral value nearest to X.

The function yields the integral value nearest to X.

If X lies exactly halfway between two integers, one of those integers is returned, but which of them is returned is unspecified.

A zero result has the sign of X when S'Signed_Zeros is True.

This function provides access to the rounding behavior which is most efficient on the target processor.