Skip to content

Provide a Rust type for c_longdouble, for FFI interop

License

Notifications You must be signed in to change notification settings

pluots/longdouble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 https://hackmd.io/@8W5l8q6-Qyyn_vKh2-L0RQ/rJpZsmcdh. Currently the only bindings available are for targets where long double is f64. Once the f128 and f116 RFC becomes usable, platforms that use f128 will be supported. If the additional float types RFC lands, bindings for f80 will also be supported.

About

Provide a Rust type for c_longdouble, for FFI interop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages