Skip to content

Commit 1ccdf23

Browse files
committed
Small variable fix in FEXPA LP
1 parent 7924003 commit 1ccdf23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • content/learning-paths/servers-and-cloud-computing/fexpa

content/learning-paths/servers-and-cloud-computing/fexpa/fexpa.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void exp_sve_fexpa(float *x, float *y, size_t n) {
5858
// FEXPA-specific coeffs
5959
const float c0_fexpa = 1.000003695487976f; // 0x1.00003ep0
6060
const float c1_fexpa = 0.5000003576278687f; // 0x1.00000cp-1
61-
const float shift_fexpa = 196735.0f; // 1.5*2^(23-6) + 127
61+
const float shift_fexpa = 196735.0f; // 0x1.803f8p17f
6262

6363
size_t i = 0;
6464

0 commit comments

Comments
 (0)