Page 1 of 1

PB 4.0 data types - no float vars?

Posted: Mon Aug 12, 2024 9:31 am
by micha-b
While trying to compile a pb4 shell proggy on my Amiga, I encountered that some of the basic data types that work with PC version 4.5 are not recognized by Amiga version 4.0 - so do those listed in the guide, e.g. Define reisTota.ul fails, though mentioned in the manual.

Also I can't find any floating point types in the Amiga version's manual. In fact, the only working types seem to be

Code: Select all

stringvar.s
bytevar.b
charvar.c
wordvar.w
longvar.l
Can't be there is no floating point implementation?!
So my Question is: Is there a complete list of all basic data types that can be used with PureBasic 4.0 Amiga?

Thanks for any hints!

Re: PB 4.0 data types - no float vars?

Posted: Tue Aug 13, 2024 1:34 pm
by DarkDragon
Did every supported amiga officially have a FPU?

Re: PB 4.0 data types - no float vars?

Posted: Tue Aug 13, 2024 1:54 pm
by Caronte3D
No, if I remember correctly... the Amiga (at least the 500) doesn't have a FPU by default.

Re: PB 4.0 data types - no float vars?

Posted: Fri Aug 30, 2024 6:01 pm
by elwood
Confirmed.
A1000, A500, A2000 didn't have a FPU for sure.
They appeared later with CPU cards like the Apolo030/060 or Blizzard cards.

Re: PB 4.0 data types - no float vars?

Posted: Sat Nov 02, 2024 11:00 am
by xperience2003
pb amiga don't use fpu or have fake-floats

the standart amiga itself did'nt use fpu

the fpu come with an accellerator-card
and need to installed

i think a mc68060 have fpu-unit inside