2 ms·
Bounds checking is just for library functions, and there isn't something like automatic array bounds checking, right? Still, whoa - > #define cbrt(X) _Gen
by comex 15y ago
Bounds checking is just for library functions, and there isn't something like automatic array bounds checking, right?
Still, whoa -
> #define cbrt(X) _Generic((X), long double: cbrtl, \
> default: cbrt, \
> float: cbrtf)(X)
Fun stuff.