Skip to content
Commit 5a609f56 authored by xg6's avatar xg6 Committed by Naoki Shibata
Browse files

malloc is in stdlib.h on OpenBSD (#274)

With this simple fix your library builds without errors on OpenBSD and all tests pass except for the ilogb denormal/nonnumber tests where "correct" return INT_MIN for inf arg. This appears to be due to a bug in the OpenBSD amd64 implementation of ilogb as the documentation states that the function should return INT_MAX for inf arg. Tests return INT_MAX.
parent a4632556
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment