This commit moves the frexp builtin to the CLC library. It simultaneously optimizes the code generated for half vectors, which was previously scalarizing and casting up to float. With this commit it still casts up to float, but keeps it in the vector form.
7 lines
166 B
Common Lisp
7 lines
166 B
Common Lisp
#include <clc/clc.h>
|
|
#include <clc/math/clc_frexp.h>
|
|
|
|
#define FUNCTION frexp
|
|
#define __CLC_BODY <clc/math/unary_def_with_int_ptr.inc>
|
|
#include <clc/math/gentype.inc>
|