libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
Files | |
file | gimbal_numeric.h |
Functions | |
uint8_t | gblPow2Next_u8 (uint8_t n) |
uint16_t | gblPow2Next_u16 (uint16_t n) |
uint32_t | gblPow2Next_u32 (uint32_t n) |
uint64_t | gblPow2Next_u64 (uint64_t n) |
GblBool | gblPow2Check (size_t n) |
int | gblFibonacci (int n) |
int | gblGcd (int u, int v) |
int | gblLcm (int u, int v) |
uint32_t | gblNtohl (uint32_t n) |
uint32_t | gblHtonl (uint32_t x) |
int | gblParity (uint8_t n) |
size_t | gblAlignedAllocSizeDefault (size_t bytes) |
size_t | gblAlignedAllocSize (size_t size, size_t align) |
uint32_t | gblPrimeNextDouble (uint32_t number) |
GblBool | gblPrimeCheck (int n) |
unsigned long | gblBinomialCoeff (unsigned n, unsigned k) |
unsigned long | gblCatalan (unsigned n) |
GblBool | gblFloatEquals (double a, double b, double e) |
float | gblDegToRadf (float degrees) |
float | gblRadToDegf (float radians) |
Collection of assorted numeric algorithms.
GblBool gblFloatEquals | ( | double | a, |
double | b, | ||
double | e | ||
) |
#include <gimbal_numeric.h>