Board.KolibriOS.org

Official KolibriOS board
It is currently Mon Nov 23, 2020 10:42 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed May 20, 2020 5:28 am 
Offline

Joined: Wed May 20, 2020 5:17 am
Posts: 2
Code:
#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.


Top
   
PostPosted: Wed May 20, 2020 5:31 am 
Offline

Joined: Wed May 20, 2020 5:17 am
Posts: 2
When calculating exp(1),Original version does't get 2.71828...


Top
   
PostPosted: Wed May 20, 2020 11:54 am 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5322
Bughunter
Hi, I've uploaded the fix rev.7958
http://websvn.kolibrios.org/revision.ph ... 1&rev=7958

_________________
Звиздеть не мешки ворочать


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited