This commit is contained in:
Marcin
2025-03-18 13:30:59 +00:00
parent 8b810c2280
commit c6caddc75e
13 changed files with 116 additions and 99 deletions

View File

@@ -176,4 +176,11 @@ test_eq_th(float a, float b, float th) {
return fabsf(a - b) <= th;
}
/* drand with explicit conversion to lower precision */
CGLM_INLINE
float
frand48(void) {
return (float)drand48();
}
#endif /* test_common_h */