Implements IEEE 754‐2019 maximum semantics. Returns the larger of 2 arguments, returning a quiet NaN if an argument is a NaN and treating ‐0 as less than +0.

Synopsis

Declared in <llvm/ADT/APFloat.h>

APFloat
maximum(
    APFloat const& A,
    APFloat const& B);

Return Value

the larger of A and B under IEEE 754‐2019 maximum rules

Parameters

Name

Description

A

first operand

B

second operand

Created with MrDocs