After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 778361 - exposure: Use exp2f for base-2 exponentials
exposure: Use exp2f for base-2 exponentials
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: operations
git master
Other All
: Normal normal
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks:
 
 
Reported: 2017-02-08 19:32 UTC by Debarshi Ray
Modified: 2017-02-09 11:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
operations/common/exposure: Use exp2f for base-2 exponentials (1.02 KB, patch)
2017-02-08 19:34 UTC, Debarshi Ray
none Details | Review
operations/common/exposure: Use exp2f for base-2 exponentials (1.29 KB, patch)
2017-02-08 21:48 UTC, Debarshi Ray
committed Details | Review

Description Debarshi Ray 2017-02-08 19:32:52 UTC
Using exp2f instead of powf for base-2 exponentials is likely to be faster. We already use it in other operations (eg., bayer-matrix and linear-sinusoid). Let's use it here too.
Comment 1 Debarshi Ray 2017-02-08 19:34:22 UTC
Created attachment 345262 [details] [review]
operations/common/exposure: Use exp2f for base-2 exponentials
Comment 2 Debarshi Ray 2017-02-08 21:48:03 UTC
Created attachment 345271 [details] [review]
operations/common/exposure: Use exp2f for base-2 exponentials

Forgot the OpenCL code path.