Search found 2 matches
- Wed May 20, 2020 5:31 am
- Forum: Coding
- Topic: Bug in e_exp.s in menuetlibc
- Replies: 2
- Views: 5323
Re: Bug in e_exp.s in menuetlibc
When calculating exp(1),Original version does't get 2.71828...
- Wed May 20, 2020 5:28 am
- Forum: Coding
- Topic: Bug in e_exp.s in menuetlibc
- Replies: 2
- Views: 5323
Bug in e_exp.s in menuetlibc
#include<libc/asm.h> MK_C_SYM(__ieee754_exp) fldl 4(%esp) fldl2e fmulp fstl %st(1) frndint fstl %st(2) fsubrp ; Should be fsubp‼ f2xm1 fld1 faddp fscale ret The ef_exp.s file also has the same issue.