How to change bases?
12-01-2019, 08:43 AM
Post: #21
 Didier Lachieze Senior Member Posts: 1,211 Joined: Dec 2013
RE: How to change bases?
(11-30-2019 02:41 PM)rprosperi Wrote:  I usually find the stories behind such discoveries (think the 42S hex table at Taco Bell) at least as interesting as the actual result itself.

Would it be possible to share the 42S story? It's the first time I see 42S and Taco Bell in the same sentence...
12-01-2019, 02:42 PM (This post was last modified: 12-01-2019 02:46 PM by rprosperi.)
Post: #22
 rprosperi Senior Member Posts: 4,256 Joined: Dec 2013
RE: How to change bases?
(12-01-2019 08:43 AM)Didier Lachieze Wrote:
(11-30-2019 02:41 PM)rprosperi Wrote:  I usually find the stories behind such discoveries (think the 42S hex table at Taco Bell) at least as interesting as the actual result itself.

Would it be possible to share the 42S story? It's the first time I see 42S and Taco Bell in the same sentence...

Full disclosure, it was actually a Jack in the Box, I just used Taco Bell as a metaphor...

Here's a recent post with a quick summary (prior versions detailed how good the cheeseburger was):

--Bob Prosperi
12-02-2019, 06:16 AM (This post was last modified: 12-02-2019 06:18 AM by Tim Wessman.)
Post: #23
 Tim Wessman Senior Member Posts: 2,237 Joined: Dec 2013
RE: How to change bases?
So just looked at the code and found something interesting that was put in at r9649... looks like all of this got lost somewhere and missed documenting/testing. Most likely you will wipe all memory, fry your CPU, and potentially explode, so don't blame me. Also, i suspect that will be removed at some point as they really dont belong in "CONVERT" and should be in a different location.

Code:
    if (wcsicmp2(Params[1]->String()->string(), L"base")==0 && NbParams==3) return BaseConvertion(Params[0], Params[2]); //    if (wcsicmp2(Params[1]->String()->string(), L"array")==0) return ArrayConvertion(Params[0], Params+2, NbParams-2); // Use ListToMat!     if (wcsicmp2(Params[1]->String()->string(), L"list")==0) return listConvertion(Params[0], false);     if (wcsicmp2(Params[1]->String()->string(), L"listlist")==0) return listConvertion(Params[0], true);

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
12-03-2019, 02:05 AM
Post: #24
 YEDERF Junior Member Posts: 13 Joined: Apr 2014
RE: How to change bases?
here an alternative to converge base numbers, from base 2 to base 31 and also numbers of decimal places

the program link in the video description
 « Next Oldest | Next Newest »

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