Support for fixed point arithmetic in libc · Issue #74560 · llvm/llvm-project (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@petrhosek

Description

@petrhosek

Clang supports fixed point arithmetic which was proposed in ISO/IEC JTC1 SC22 WG14 N1169. This document also proposes the stdfix.h header which introduces:

To improve the usability of fixed point arithmetic in Clang, LLVM libc should provide the stdfix.h header and implement all the functions declared there.