[Implemented] Floating Point Support

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

[Implemented] Floating Point Support

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

Heya Fred !!

I think we need definitly more Floating Point
Support in PureBasic.
I´m writing on a PureBasic-Library for a
3D-Engine atm, and 3D needs much floats.

PB can handle floats internally, but it
cannot give floats to a PureBasic-Library.

If i call a command with a float-value:
> Command(float-var)
PureBasic loads the float ( FLD dword [v_var] )
BUT stores it as INTEGER (FISTP).

It SHOULD store it as REAL (FSTP).

So i think the "Float" type is needed
in the Library-Description-File.
If there is a command "command, Float, Long, Float"
in the .Desc-File, PureBasic should use
REALs (FSTP) for the Float type.

Thanks,
...Danilo


(registered PureBasic user)
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 Andre.

Also the AmigaOS users would be happy, if there will be Floating support (.f types) soon! (which I get told from some personal emails)
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 Danilo.

Is it worth to support a dead OS ??

OK, i want a DOS-Version please... :wink:

(registered PureBasic user)
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 tranquil.

I think it is not fair to stop the development of the Amiga Version couse this users has paid the same fee as windows/linux users.

Tranquilizer/ Secretly!
Registred PureBasic User
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 Andre.
Is it worth to support a dead OS ??
OK, i want a DOS-Version please... :wink:
Like tranquil said.

Fred comes from AmigaOS (NewCommandSet for Amiga BlitzBasic 2-3 years ago) and also the first registered PB users have originally paid for a new programming language for their OS. Also I think one of the PB advantages - the speed and compactness of the created programs - isn't an original Windows feature (see VisualBasic) ... :wink:

But I know - Fred will do it... :wink:
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 El_Choni.

As an old Amiga user, I must add: Windows 98 still lacks the stability (and some features) of Amiga Workbench. Amiga support is cool, since there aren't many programming tools available now for that platform. But that's only my opinion.

Have a nice day,


PS: offtopic question, not a quiz, but a real question: which is the first country in the world to enter 2002?

El_Choni
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 Rings.

I prefer linux and windows, but i'm an old(12 years ago(own a A1000 with sidecar)) amiga-user and like
the idea of multiple compilers/plattforms.
Everyone has paid for his own persoality plattform.
dot.end.

Siggi
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 Danilo.

Yes, same here...

I like the Amiga too (A500 + A4000/040 here).
I also like DOS, but i can see the reality
and it tells me that both are dead.
(Dead = not much supported and not much
used in the public)

The question was "is it worth it ??"

It is not worth all the work if you
want to make big money, but
its worth it if you wanna have some
fun and if you are a FREAK.

cya,
...Danilo :wink:

(registered PureBasic user)
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.
It is not worth all the work if you
want to make big money, but
its worth it if you wanna have some
fun and if you are a FREAK.
Who said I'm not a FREAK ? . As I've said since the beginning of PureBasic, it will ALWAYS have an Amiga version of the compiler. Even if Linux if much more used, I still use my Amiga much often than Linux.

Fred - AlphaSND
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 redacid.

Fred: great news! I also want to support AmigaOS!
Post Reply