Post Reply 
(Free42) accuracy of LN1+X
06-13-2020, 11:07 AM
Post: #7
RE: (Free42) accuracy of LN1+X
(06-12-2020 08:21 PM)grsbanks Wrote:  
(06-12-2020 06:51 PM)Albert Chan Wrote:  Perhaps it is implemented with binary128 version log1p ?

Looks like it is.

Code:
Phloat log1p(Phloat p) {
    BID_UINT128 res;
    bid128_log1p(&res, &p.val);
    return Phloat(res);
}

That code snippet by itself says nothing about the implementation of bid128_log1p, although looking at the source for the function itself (e.g. this copy on GitHub), most cases are wrapped around calls to bid128_to_binary128 and binary128_to_bid128 with the real work done in binary.

— Ian Abbott
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(Free42) accuracy of LN1+X - Werner - 06-12-2020, 03:23 PM
RE: (Free42) accuracy of LN1+X - grsbanks - 06-12-2020, 08:21 PM
RE: (Free42) accuracy of LN1+X - ijabbott - 06-13-2020 11:07 AM
RE: (Free42) accuracy of LN1+X - johanw - 06-12-2020, 10:07 PM
RE: (Free42) accuracy of LN1+X - rprosperi - 06-12-2020, 10:45 PM
RE: (Free42) accuracy of LN1+X - Paul Dale - 06-14-2020, 01:09 AM
RE: (Free42) accuracy of LN1+X - Paul Dale - 06-14-2020, 10:39 PM



User(s) browsing this thread: 1 Guest(s)