#include <algorithm>
#include "types.h"
Go to the source code of this file.
|
| bool | stdext::is_power_of_two (size_t v) |
| |
| size_t | stdext::to_power_of_two (size_t v) |
| |
| uint16_t | stdext::readULE16 (const uchar *addr) |
| |
| uint32_t | stdext::readULE32 (const uchar *addr) |
| |
| uint64_t | stdext::readULE64 (const uchar *addr) |
| |
| void | stdext::writeULE16 (uchar *addr, uint16_t value) |
| |
| void | stdext::writeULE32 (uchar *addr, uint32_t value) |
| |
| void | stdext::writeULE64 (uchar *addr, uint64_t value) |
| |
| int16_t | stdext::readSLE16 (const uchar *addr) |
| |
| int32_t | stdext::readSLE32 (const uchar *addr) |
| |
| int64_t | stdext::readSLE64 (const uchar *addr) |
| |
| void | stdext::writeSLE16 (uchar *addr, int16_t value) |
| |
| void | stdext::writeSLE32 (uchar *addr, int32_t value) |
| |
| void | stdext::writeSLE64 (uchar *addr, int64_t value) |
| |
| uint32_t | stdext::adler32 (const uint8_t *buffer, size_t size) |
| |
| long | stdext::random_range (long min, long max) |
| |
| float | stdext::random_range (float min, float max) |
| |
| double | stdext::round (double r) |
| |
| template<typename T > |
| T | stdext::clamp (T x, T min, T max) |
| |