mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
fa20edc44d
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
10 lines
235 B
C
10 lines
235 B
C
#ifndef COSMOPOLITAN_DSP_CORE_HALF_H_
|
|
#define COSMOPOLITAN_DSP_CORE_HALF_H_
|
|
#include "libc/macros.internal.h"
|
|
|
|
/**
|
|
* Divides integer in half w/ rounding.
|
|
*/
|
|
#define HALF(X) (((X) + 1) / 2)
|
|
|
|
#endif /* COSMOPOLITAN_DSP_CORE_HALF_H_ */
|