1#include <clc/clc.h>
2#include "../lib/clcmacro.h"
3#include <math/clc_nextafter.h>
4
5_CLC_DEFINE_BINARY_BUILTIN(float, nextafter, __clc_nextafter, float, float)
6
7#ifdef cl_khr_fp64
8#pragma OPENCL EXTENSION cl_khr_fp64 : enable
9_CLC_DEFINE_BINARY_BUILTIN(double, nextafter, __clc_nextafter, double, double)
10#endif
11