The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How are divisions by zero handled?
11-04-2015, 02:36 PM
Post: #1
How are divisions by zero handled?
Hi,

I was playing around with raycasting on PSP and the emulator was very useful to perform the tests.

Then, I decided to dig my PSP out of its drawer and wanted to give a try after getting a result very close to Wolfenstein 3D. I was very surprised when the demo on the real hardware merely crashed at the launch.

After several headaches, I found out that the emulator kept going after a division by zero whereas the real console cringed hard. That makes me wonder: why the emulator does not crash (or at least stopped) like the real hardware after such an error?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How are divisions by zero handled? - 240-185 - 11-04-2015 02:36 PM

Forum Jump: