HP Forums

Full Version: (1%%2)/3.4 --> G2 fireworks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
WARNING: The following may corrupt Prime's memory.

Got a G2 Prime? After backing up your memory, and having a paperclip at hand, type this expression in CAS:

(1%%2)/3.4

and see if you get the same wild display that I get (colorful random streaks). Poke the reset hole to recover control.

Results apparently depend on firmware version and platform. G1 Primes seem to just reboot or error. My virtual Prime sulks for a moment then silently exits.
That has got to be strangest bug ever. The emulator (Build 2.1.14596 10/1/2021) just closes.
Funny, nobody ever tried that: dividing a number in Z/nZ by a float. Infinite recursion -> segfault.
Wow, what a mess! Reset brought it back just fine, no losses. Software version 2.1.14433 (2020 01 21) Hardware D CAS 1.5.0

I need to play with this magnificent beast more...
(01-21-2022 07:53 AM)Joe Horn Wrote: [ -> ]WARNING: The following may corrupt Prime's memory.

Got a G2 Prime? After backing up your memory, and having a paperclip at hand, type this expression in CAS:

(1%%2)/3.4

and see if you get the same wild display that I get (colorful random streaks). Poke the reset hole to recover control.

Results apparently depend on firmware version and platform. G1 Primes seem to just reboot or error. My virtual Prime sulks for a moment then silently exits.

My G2 with the 21 12 02 firmware shows the system error screen with some little, black, horizontal lines then reboots on its own with nothing lost.
It took me longer to find the % sign than it did for the calc to crash and reboot.
(01-21-2022 09:47 PM)BruceH Wrote: [ -> ]It took me longer to find the % sign than it did for the calc to crash and reboot.

Bonjour à tous,

Il y a effectivement, des failles que l'on rencontre.
Personnellement, par hasard en jouant avec les possibilités graphiques de la machine, notamment pour zoomer,, je me suis retrouvé à scroller dans la mémoire de la machine avec un beau plantage à la clé. Cela m'a rappelé le bon vieux temps avec la hp48, mais là, on le faisait volontairement avec un programme écrit en assembleur.

Bref, la hp prime pousse à la curiosité de chercher, juste pour le fun.
Reference URL's