LibreOffice Module tools (master) 1
Typedefs | Functions
fix16.hxx File Reference
#include <tools/toolsdllapi.h>
#include <stdint.h>
Include dependency graph for fix16.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int32_t fix16_t
 

Functions

TOOLS_DLLPUBLIC fix16_t fix16_mul (fix16_t inArg0, fix16_t inArg1)
 
TOOLS_DLLPUBLIC fix16_t fix16_div (fix16_t inArg0, fix16_t inArg1)
 

Typedef Documentation

◆ fix16_t

typedef int32_t fix16_t

Definition at line 30 of file fix16.hxx.

Function Documentation

◆ fix16_div()

TOOLS_DLLPUBLIC fix16_t fix16_div ( fix16_t  inArg0,
fix16_t  inArg1 
)

Divides the first given fix16_t by the second and returns the result.

Definition at line 104 of file fix16.cxx.

References a, clz(), div(), fix16_minimum, fix16_overflow, fix_abs(), result, and shift.

◆ fix16_mul()

TOOLS_DLLPUBLIC fix16_t fix16_mul ( fix16_t  inArg0,
fix16_t  inArg1 
)

Multiplies the two given fix16_t's and returns the result.

Definition at line 50 of file fix16.cxx.

References fix16_overflow, and result.