Search found 590 matches

by Thomas Okken
Tue Jan 19, 2021 3:26 pm
Forum: Usage tips, tricks and problem reports
Topic: Question about a result
Replies: 15
Views: 393

Re: Question about a result

I think it strange that HP calculators and derivates are not able to find the real solution -1.0458. Since what you're calculating is not actually the 11th root but the 1/11th power, the results you are getting are correct. If a calculator has an "x-th root of y" button, it is not unreaso...
by Thomas Okken
Fri Jan 15, 2021 11:55 pm
Forum: DM42
Topic: "Internal error" message
Replies: 1
Views: 133

Re: "Internal error" message

If CLP "" returns Internal Error, that indicates that the current program pointer has become invalid for some reason. That could be a Free42 bug, but it will be difficult to troubleshoot unless you are able to reproduce the problem from a fresh state. In the meantime, though, you should be...
by Thomas Okken
Fri Jan 15, 2021 12:27 am
Forum: Discuss!
Topic: Delivery To Canada (Quebec)
Replies: 8
Views: 199

Re: Delivery To Canada (Quebec)

Yesterday, my mother told me that she had just received a parcel that her sister had sent her two weeks before Christmas.
Mom lives in the Netherlands and her sister in Germany...
by Thomas Okken
Tue Jan 12, 2021 12:56 pm
Forum: DM42
Topic: Memory management?
Replies: 4
Views: 275

Re: Memory management?

I'm guessing (i.e. I haven't read the source) that Free42 is just reporting the amount of memory that OS tells it is available, in other words however much it could malloc for its own use. Yes and no... the Free42 MEM calls a shell function, shell_get_mem(), and displays whatever it returns. So to ...
by Thomas Okken
Fri Jan 08, 2021 5:09 pm
Forum: Usage tips, tricks and problem reports
Topic: minor inconsistency
Replies: 9
Views: 347

Re: minor inconsistency

Once I had decided that my scientific programmable RPN calculator app was going to be modeled after the HP-42S, I felt it made sense to make it mimic the 42S as closely as possible. I find it annoying when simulators only approximate what they simulate, because it tends to trip me up when my muscle ...
by Thomas Okken
Thu Jan 07, 2021 8:17 pm
Forum: Usage tips, tricks and problem reports
Topic: minor inconsistency
Replies: 9
Views: 347

Re: minor inconsistency

int docmd_pgmslvi(arg_struct *arg) { /* This command can only be invoked from a menu; we assume that * the menu handler only gives us valid arguments. We do check * the argument type, but the existence of the named label, and * whether it actually has MVAR instructions, we just assume. */ That assu...
by Thomas Okken
Sat Jan 02, 2021 12:32 am
Forum: DM42
Topic: Kind of "overflow" in integers
Replies: 16
Views: 494

Re: Kind of "overflow" in integers

can't free42 and DM42 go up to 128bits? Because 128bits is the nearest integer to 1e34 (in fact 112bits)... Bumping the maximum WSIZE up to 112 would require a significant amount of work because the current code for binary functions in Free42 makes heavy use of 64-bit integers. Since 128-bit intege...
by Thomas Okken
Wed Dec 30, 2020 11:33 pm
Forum: DM42
Topic: Word concept from Forth applicable in DM 42
Replies: 1
Views: 175

Re: Word concept from Forth applicable in DM 42

Calling a subroutine with XEQ is like executing a Forth word, except Forth really requires an unlimited stack, and the four-level stack of the DM42 and other "classic" RPN calculators is way too small for that style of programming. The RPL calculators by Hewlett-Packard are a better match ...
by Thomas Okken
Wed Dec 30, 2020 11:22 pm
Forum: DM42
Topic: Kind of "overflow" in integers
Replies: 16
Views: 494

Re: Kind of "overflow" in integers

The calculator does not keep track of whether numbers are exact or not, so making sure that your results (and all intermediates) are less than 1e34 is the only way to be sure.
by Thomas Okken
Fri Dec 18, 2020 5:07 pm
Forum: DM42
Topic: Merry Christmas to forum contributors
Replies: 15
Views: 714

Re: Merry Christmas to forum contributors

Happy Holidays!