An open API service indexing awesome lists of open source software.

https://github.com/pluots/longdouble

Provide a Rust type for c_longdouble, for FFI interop
https://github.com/pluots/longdouble

Last synced: 3 months ago
JSON representation

Provide a Rust type for c_longdouble, for FFI interop

Awesome Lists containing this project

README

        

# Longdouble

This crate provides the type alias `c_longdouble` for FFI interoperability with
C's `long double`. It does not provide any new types.

The exact type that `c_longdouble` aliases to is based on
. Currently the only
bindings available are for targets where `long double` is `f64`. Once the
[`f128` and `f116` RFC](https://github.com/rust-lang/rfcs/pull/3453) becomes
usable, platforms that use `f128` will be supported. If the [additional float
types RFC](https://github.com/rust-lang/rfcs/pull/3451) lands, bindings for f80
will also be supported.