Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.01 KB

divide.adoc

File metadata and controls

46 lines (27 loc) · 1.01 KB

half_divide, native_divide

Division functions.

gentype half_divide(gentype x,
                    gentype y)

gentype native_divide(gentype x,
                      gentype y)

Description

half_divide computes x / y.

native_divide computes x / y over an implementation-defined range. The maximum error is implementation-defined.

The vector versions of the math functions operate component-wise. The description is per-component.

The built-in math functions are not affected by the prevailing rounding mode in the calling environment, and always return the same value as they would if called with the round to nearest even rounding mode.

For any specific use of a function, the actual type has to be the same for all arguments and the return type, unless otherwise specified.