PB solves old mathematical problem

Share your advanced PureBasic knowledge/code with the community.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Thomas.

Since ages there is one mathematical problem unsolved:

What is the outcome of a division by zero?

All programming languages give a "division by zero" exception if you try to solve this riddle. Not so PureBasic.

Only 1 line of code and you can have a look on something that has never been seen before:

The result of a division by zero.

a.f=a/0:debug a

The next frontier for the scientists now is to find out what PB means with this...
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Kale.

Result = -1.#IND00

lol :) er.. Fred?

--Kale

In love with PureBasic! :)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

:)

Fred - AlphaSND
Post Reply