This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 02fed0bda755b6e265690ce315849916c195a2b3
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Mon Sep 7 03:35:35 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Sat Sep 12 23:52:20 2026 +0000

    compat/djgpp: add exp2f
    
    DJGPP provides exp2 but not exp2f. It was covered by the generic libm
    fallbacks so far.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 compat/djgpp/math.c | 5 +++++
 compat/djgpp/math.h | 1 +
 2 files changed, 6 insertions(+)

diff --git a/compat/djgpp/math.c b/compat/djgpp/math.c
index 777b879e01..266f39902b 100644
--- a/compat/djgpp/math.c
+++ b/compat/djgpp/math.c
@@ -45,3 +45,8 @@ long double copysignl(long double x, long double y)
 {
     return copysign(x, y);
 }
+
+float exp2f(float x)
+{
+    return exp2(x);
+}
diff --git a/compat/djgpp/math.h b/compat/djgpp/math.h
index 4c02ea9c40..03e4cdf675 100644
--- a/compat/djgpp/math.h
+++ b/compat/djgpp/math.h
@@ -23,3 +23,4 @@ float fmaxf(float, float);
 long double fmodl(long double, long double);
 long double scalbnl(long double, int);
 long double copysignl(long double, long double);
+float exp2f(float);

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to