Skip to content

Explore what parts of musl libc can be easily imported in to the APE libs #5

@staalmannen

Description

@staalmannen
  • musl math library - easy ports, architecture-independent code
  • musl math library - functions that depend on features not supported by the compiler
  • fenv - easy ports, architecture-independent code
  • fenv - architecture-dependent code
  • musl search
  • musl complex

In a recent porting attempt, I found myself importing several math functions from musl libc to /sys/src/ape/lib/ap/math. They were pretty pain-free and very enjoyable code. If possible I would prefer those implementations to gnulib whenever possible. The gnulib idea is great, but the headers and code are definitely not intended to be read or edited by a human.

The idea is thus to add as much as possible of musl libc to the APE libs. The more functions that are already in libc, the less of gnulib is needed to build various applications.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions