[Implemented] Floating Point Support
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
[Implemented] Floating Point Support
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)
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)
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Andre.
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) ...
But I know - Fred will do it...
Like tranquil said.Is it worth to support a dead OS ??
OK, i want a DOS-Version please...![]()
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) ...

But I know - Fred will do it...

-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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
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
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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
(registered PureBasic user)
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

(registered PureBasic user)
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by fred.
Fred - AlphaSND
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.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.
Fred - AlphaSND
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm