PB 4.0 data types - no float vars?

AmigaOS specific forum
User avatar
micha-b
User
User
Posts: 18
Joined: Wed Mar 29, 2023 8:51 am
Location: Heidelberg
Contact:

PB 4.0 data types - no float vars?

Post 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!
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: PB 4.0 data types - no float vars?

Post by DarkDragon »

Did every supported amiga officially have a FPU?
Last edited by DarkDragon on Tue Aug 13, 2024 2:03 pm, edited 1 time in total.
bye,
Daniel
User avatar
Caronte3D
Addict
Addict
Posts: 1355
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: PB 4.0 data types - no float vars?

Post by Caronte3D »

No, if I remember correctly... the Amiga (at least the 500) doesn't have a FPU by default.
elwood
User
User
Posts: 30
Joined: Tue Dec 27, 2016 4:40 pm
Location: Lyon, France

Re: PB 4.0 data types - no float vars?

Post 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.
AmigaOS betatester
French Amiga Translation Team
Team for the Planet member
xperience2003
Enthusiast
Enthusiast
Posts: 113
Joined: Tue Oct 05, 2004 9:05 pm
Location: germany
Contact:

Re: PB 4.0 data types - no float vars?

Post 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
Post Reply