Explore related resources

Find more information about the topics in this Learning Path:

Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
How do I compile the SVE example?
Install gcc, then compile exp_sve.c with gcc -O3 -march=armv8-a+sve exp_sve.c -o exp_sve -lm. Use an SVE-capable Arm processor to execute the SVE implementation.
Which floating-point precision am I building with in this example?
The provided implementation uses single precision: its coefficients are float values and its SVE vectors use svfloat32_t. The example therefore builds the FP32 version described in the precision table.
When should I switch my code from the polynomial-only version to the FEXPA-optimized version?
After the baseline SVE polynomial version compiles and produces correct results, replace the range-reduction sequence with the FEXPA-based approach. Re-validate accuracy against your target error before continuing.
What result should I expect after I enable FEXPA?
FEXPA performs table lookup and bit manipulation in hardware, which lets you use a lower-degree polynomial for the same target precision. Confirm this by checking approximation error over a representative input range.
How do I choose my polynomial degree and input range?
Use range reduction to map inputs into an interval where the polynomial is accurate, then tune the polynomial degree to meet your error goal. Evaluate absolute or relative error across representative inputs before finalizing the choice.

Share

Tell others about this Learning Path.

Back
Return to Servers and Cloud Computing