|
infix
A JIT-Powered FFI Library for C
|
Cookbook Chapter 4: Handling long double
More...
Functions | |
| static long double | native_sqrtl (long double x) |
| int | main () |
Cookbook Chapter 4: Handling long double
This example demonstrates how to call a function that uses the long double type. The size and ABI handling of long double are highly platform-specific:
double (64 bits).The infix keyword longdouble correctly resolves to the appropriate ABI handling on each platform, making the signature portable.
| int main | ( | void | ) |
|
static |