The following warnings occurred:
Warning [2] Undefined array key 133374 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 133376 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 133377 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 133392 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 133394 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 133406 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 133450 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 133479 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 133490 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 133490 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 133392 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





HP67/97 RND Function



#10

Are STO RND and RCL RND valid instructions on the HP67C/97C?

Thanks.

Mike T.


#11

No. And, by the way, they are "HP-67/HP-97", no "C" as they lack Continuous Memory which is what the "C" stands for.

Best regards from V.

Edited: 25 Feb 2008, 11:05 a.m.


#12

Thank you Valentin, your comments are very helpful as ever.

In particular thanks for remindimg me that the memory on the machines IS NOT continious...

Mike T.


#13

Hi, Mike:

Mike posted:

    "Thank you Valentin, your comments are very helpful as ever. In particular thanks for remindimg me that the memory on the machines IS NOT continious..."

      You're welcome. May I remind you as well that the RND function in the HP-67 has nothing to do with "RaNDom number generation" but with "RouNDing a number" to match what appears in the display.

      Because your asking for "STO RND" and "RCL RND" a la HP-15C makes me think you're confusing both. :-)

Best regards from V.

#14

Very perceptive of you and as usual you are correct - except that I was assuming that the HP67 RND function matched the HP11C!

Thanks

Mike T.


#15

Hi again, Mike:

    "[...] except that I was assuming that the HP67 RND function matched the HP11C! "

      But you asked about STO RAN and RCL RAN and only the HP-15C has both, the HP-11C can do the STO RAN part but is missing the RCL RAN (and of course, the HP-67 has neither).

      Thus, it was only logical to assume you were referring to the HP-15C full implementation as you mentioned both functions, not one.

      Also, if you plan to implement them in some simulator/emulator of yours not ROM based, be aware that in the HP-15C, STO RAN will accept any numeric argument but RCL RAN will 'normalize it' so that it's always recalled as a positive value between 0 (included) and 1 (not included), with possible truncation for small arguments. For instance:

                   0.5, STO RAN, RCL RAN ->  0.5          (intact)
      PI, STO RAN, RCL RAN -> 0.3141592654 (scaled)
      -314.1592654, STO RAN, RCL RAN -> 0.3141592654 (scaled, sign changed to positive)
      3.141592654E-3, STO RAN, RCL RAN -> 0.0031415926 (truncated, 2 last places missing)

      You must take that complicated behavior into account if you want your implementation to be able to run HP-15C programs like a physical unit would for compatibility purposes.

Best regards from V.

Edited: 26 Feb 2008, 7:05 p.m.


#16

Exactly what I expected of the RND function (I'd spotted an earlier post on the same subject).

I sorted out the RouNDing function last night - had to resort to string manipulation (as usual) to get the answer I wanted. Many thanks for pointing out the differences in behaviour, unfortunatly I don't think I'm ever going to get round to implementing an HP15C simulator but an HP11C is definatly on the cards...

Mike T.

#17

Mike,

Seems like you are also working on HP97 simulator (as well as one for the HP67)?

Namir


#18

Well not at the moment ... but it shouldn't be too difficult as when I originally decided to rewrite my HP33C simulator a couple of years ago the intention was to restructure the code to allow me to use the same code to simulate a number of different models.

As a result about 20% of the code I use in each of my simulators now is now exactly the same, but can't be shared except by cut and paste, and about 65% is in shared modules, leaving at the most only about 15% specific to each model - the percentages are guesstimates but you get the idea..

As regards the HP67 simulator, now that I don't have to worry about sto rnd and rcl rnd 'all' I've got left to do is work out how to handle w/data, merge, prt reg, prt x sensibly, then add something to allow programs to change the 'user defined' labels when they are loaded, before trying to test every thing (again).

I think the next thing I'll do after the HP67 is finish off the HP11C simulation - it just looks so cool on my screen (and I liked the HP11C enough to buy one so I have the real thing to check the simulation against. Though I think that the HP33C is still my favourite even if a bit short on memory)...

Mike T.

Edited: 26 Feb 2008, 6:03 p.m.


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP50g: Writing a function that returns a function Chris de Castro 2 2,060 12-10-2013, 06:49 PM
Last Post: Han
  HP67 eBay auction Cristian Arezzini 3 2,061 12-08-2013, 03:47 PM
Last Post: Raymond Del Tondo
  HP67/97 M.E. Pac cover Ignacio Sánchez 2 1,442 11-22-2013, 04:04 AM
Last Post: Ignacio Sánchez Reig
  HP67 motor in HP65 card reader - too slow Harald 4 2,036 05-21-2012, 06:52 PM
Last Post: Dave Shaffer (Arizona)
  Android HP67 - v1.1 posted MikeO 14 3,788 02-08-2012, 07:29 AM
Last Post: Thomas Okken
  HP67 Emulator for Android MikeO 23 5,734 01-28-2012, 07:06 AM
Last Post: Ingo Paschke
  HP 67, 97, 97+ emulator Olivier De Smet 8 2,677 11-11-2011, 09:57 AM
Last Post: Israel Otero
  HP67 for the Android MikeO 17 4,039 05-24-2011, 10:05 AM
Last Post: Vincent Weber
  HP 30b RND function Sujith Abraham 6 1,680 04-25-2011, 12:55 PM
Last Post: Thomas Radtke
  HP65 vs HP67 card reader Alberto Fenini 2 1,273 04-17-2011, 05:09 PM
Last Post: Alberto Fenini

Forum Jump: