7.4.13 Operation runtime functions

Operation runtime functions are as follows.

Table 7.15

Operation Runtime Functions

Classification

Function Name

Outline

float type operation function

_COM_fadd

Addition of single-precision floating-point

_COM_fsub

Subtraction of single-precision floating-point

_COM_fmul

Multiplication of single-precision floating-point

_COM_fdiv

Division of single-precision floating-point

double type operation function

_COM_dadd

Addition of double-precision floating-point

_COM_dsub

Subtraction of double-precision floating-point

_COM_dmul

Multiplication of double-precision floating-point

_COM_ddiv

Division of double-precision floating-point

long long type operation function

_COM_mul64

Multiplication of 64-bit integer

_COM_div64

Division of signed 64-bit integer

_COM_udiv64

Division of unsigned 64-bit integer

_COM_rem64

Remainder of signed 64-bit integer

_COM_urem64

Remainder of unsigned 64-bit integer

_COM_shll_64_32

Logical left shift of 64-bit integer

_COM_shrl_64_32

Logical right shift of 64-bit integer

_COM_shra_64_32

Arithmetic right shift 64-bit integer

_COM_neg64

Sign inversion

Type conversion function

_COM_itof

Conversion from 32-bit integer to single-precision floating-point number

_COM_itod

Conversion from 32-bit integer to double-precision floating-point number

_COM_utof

Conversion from unsigned 32-bit integer to single-precision floating-point number

_COM_utod

Conversion from unsigned 32-bit integer to double-precision floating-point number

_COM_i64tof

Conversion from 64-bit integer to single-precision floating-point number

_COM_i64tod

Conversion from 64-bit integer to double-precision floating-point number

_COM_u64tof

Conversion from unsigned 64-bit integer to single-precision floating-point number

_COM_u64tod

Conversion from unsigned 64-bit integer to double-precision floating-point number

_COM_ftoi

Conversion from single-precision floating-point number to 32-bit integer

_COM_dtoi

Conversion from double-precision floating-point number to 32-bit integer

_COM_ftou

Conversion from single-precision floating-point number to unsigned 32-bit integer

_COM_dtou

Conversion from double-precision floating-point number to unsigned 32-bit integer

_COM_ftoi64

Conversion from single-precision floating-point number to 64-bit integer

_COM_dtoi64

Conversion from double-precision floating-point number to 64-bit integer

_COM_ftou64

Conversion from single-precision floating-point number to unsigned 64-bit integer

_COM_dtou64

Conversion from double-precision floating-point number to unsigned 64-bit integer

_COM_ftod

Conversion from single-precision floating-point number to double-precision floating-point number

_COM_dtof

Conversion from double-precision floating-point number to single-precision floating-point number

Floating-point comparison functions

_COM_fgt

Comparison

_COM_fge

Comparison

_COM_feq

Comparison

_COM_fne

Comparison

_COM_flt

Comparison

_COM_fle

Comparison

_COM_funord

Incomparable

_COM_dgt

Comparison

_COM_dge

Comparison

_COM_deq

Comparison

_COM_dne

Comparison

_COM_dlt

Comparison

_COM_dle

Comparison

_COM_dunord

Incomparable