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 - [Patch] [stdlib] Add SDL_exp
Summary: [Patch] [stdlib] Add SDL_exp
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 enhancement
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-04 15:54 UTC by Ethan Lee
Modified: 2018-08-04 23:43 UTC (History)
1 user (show)

See Also:


Attachments
Adds SDL_exp and SDL_expf functions (16.71 KB, patch)
2018-08-04 15:54 UTC, Ethan Lee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.