Fix all CMake tests passing on MinGW: consider minor (< 1e-6) errors in waveform shape successes.

Such errors are due to floating point rounding errors.
This commit is contained in:
Veikko Sariola
2020-10-22 21:03:54 +03:00
parent b9ec015b4a
commit 95b70018cc
2 changed files with 8 additions and 9 deletions

View File

@ -1,5 +1,6 @@
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "../include/sointu.h"
#if UINTPTR_MAX == 0xffffffff // are we 32-bit?