Phillip Johnston

Results 80 comments of Phillip Johnston

Sample `wchar_t` related type mismatches, it seems all related functions generate warnings due to prototype mismatches. ``` [152/166] Building C object src/CMakeFiles/c.dir/wchar/iswspace.c.o In file included from /Users/bs/cmake/libc-skeleton/src/wchar/iswspace.c:1: /Users/bs/cmake/libc-skeleton/include/wchar.h:23:10: warning: incompatible...

Maybe we waste a few extra bytes in the aligned space... need a "magic" marker that indicates that this was allocated by aligned_malloc(). If the sentinel matches, then we call...

Thanks for the suggestion. I agree this kind of comparison would be useful. I'm currently slammed this work, so it will be a while before I can get around to...

https://bitbashing.io/comparing-floats.html

ULP might be suitable, example from above article. Probably also want this in the embvm-core as a utility. ``` int32_t ulpsDistance(const float a, const float b) { // We can...

This got bumped up - became a problem with M1, since tests are failing due to epsilon comparisons.

M1 problem was related to the use of `long` and `long long` instead of specific fixed-width types, but support for ULP-based comparisons is included. ~It was, however, not necessary, but...

Although, we may want to play with it in the gdtoa files - that's where most of the comparisons happen.

Presumably related to this issue is code formatting breaks when `::` is used, e.g., for `std::vector` which broke for me after updating Dataview. ``` - The C++ standard library frequently...

Closing this now, and I have no other instances of this reported or observed.