Skip to content
Commit 3a7051d9 authored by Boris Brezillon's avatar Boris Brezillon Committed by Tom Stellard
Browse files

libclc: Fix FP_ILOGBNAN definition



Fix FP_ILOGBNAN definition to match the opencl-c-base.h one and
guarantee that FP_ILOGBNAN and FP_ILOGB0 are different. Doing that
implies fixing ilogb() implementation to return the right value.

Signed-off-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>

Reviewed By: jvesely

Differential Revision: https://reviews.llvm.org/D83473
parent 45cc86b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment