We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4222

Summary: [Patch] [stdlib] Add SDL_exp
Product: SDL Reporter: Ethan Lee <flibitijibibo>
Component: buildAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2 CC: icculus
Version: HG 2.0   
Hardware: All   
OS: All   
Attachments: Adds SDL_exp and SDL_expf functions

Description Ethan Lee 2018-08-04 15:54:17 UTC
Created attachment 3276 [details]
Adds SDL_exp and SDL_expf functions

Attached is a patch that attempts to add an exp function to SDL's stdlib. Included is the uClibc equivalent for platforms that do not have exp.

This has only been tested on Linux/macOS, but if it's anything like my log10 patch this should be okay elsewhere.
Comment 1 Ryan C. Gordon 2018-08-04 23:43:15 UTC
This patch is now https://hg.libsdl.org/SDL/rev/1e46699fa470, thanks!

--ryan.