size of _Float
#2
(09-09-2022, 02:04 PM)Jack Wrote: the wiki says that the size of _Float is 32 bytes, is that correct? https://qb64phoenix.com/qb64wiki/index.p...able_Types
(I know that padding is needed for alignment but the size should be at most 16 bytes)

It is what it is, and that already since the ancient SDL versions of QB64 more than a decade ago.
Code: (Select All)
DIM f AS _FLOAT
PRINT LEN(f)
Unfortunatly we can't ask the original creator of QB64 about this, as the Wiki says only 10 bytes are used of that 32 bytes, so you may be right nevertheless.
Reply


Messages In This Thread
size of _Float - by Jack - 09-09-2022, 02:04 PM
RE: size of _Float - by RhoSigma - 09-09-2022, 02:38 PM
RE: size of _Float - by Jack - 09-09-2022, 03:29 PM
RE: size of _Float - by mnrvovrfc - 09-09-2022, 04:15 PM
RE: size of _Float - by Jack - 09-09-2022, 04:59 PM
RE: size of _Float - by SMcNeill - 09-09-2022, 05:15 PM
RE: size of _Float - by Jack - 09-09-2022, 05:27 PM
RE: size of _Float - by SMcNeill - 09-09-2022, 05:53 PM
RE: size of _Float - by SMcNeill - 09-09-2022, 06:03 PM
RE: size of _Float - by Jack - 09-09-2022, 06:35 PM
RE: size of _Float - by SMcNeill - 09-09-2022, 06:42 PM
RE: size of _Float - by Jack - 09-09-2022, 07:07 PM
RE: size of _Float - by Kernelpanic - 09-09-2022, 11:09 PM
RE: size of _Float - by bplus - 09-13-2022, 12:19 AM



Users browsing this thread: 4 Guest(s)