: i'm just wondering if anyone knows of any platform existant today in which !(sizeof(size_t)>1). Any platform means any. : {2}rIng : I can't imagine such a platform exists. size_t is (at least) an integer, thus 2 bytes on 16-bits platforms.
: : i'm just wondering if anyone knows of any platform existant today in which !(sizeof(size_t)>1). Any platform means any. : : {2}rIng : : : I can't imagine such a platform exists. size_t is (at least) an integer, thus 2 bytes on 16-bits platforms. : : : Greets, : Eric Goldstein : http://www.gvh-maatwerk.nl : : : In 8-bit proccessors an integer should be 1 byte, and therefor size_t should be the same.
: : : i'm just wondering if anyone knows of any platform existant today in which !(sizeof(size_t)>1). Any platform means any. : : : {2}rIng : : : : : I can't imagine such a platform exists. size_t is (at least) an integer, thus 2 bytes on 16-bits platforms. : : : : : : Greets, : : Eric Goldstein : : http://www.gvh-maatwerk.nl : : : : : : : In 8-bit proccessors an integer should be 1 byte, and therefor size_t should be the same. :
I was thinking of that. I'm just trying to make portable code, but porting to such a platform (a microcontroller) doesn't seem neccessary, I doubt a such a thing would need a bignum lib (it doesn't deserve such a classification, midnum sounds better ;-) )
Comments
: {2}rIng
:
I can't imagine such a platform exists. size_t is (at least) an integer, thus 2 bytes on 16-bits platforms.
Greets,
Eric Goldstein
http://www.gvh-maatwerk.nl
: : {2}rIng
: :
: I can't imagine such a platform exists. size_t is (at least) an integer, thus 2 bytes on 16-bits platforms.
:
:
: Greets,
: Eric Goldstein
: http://www.gvh-maatwerk.nl
:
:
:
In 8-bit proccessors an integer should be 1 byte, and therefor size_t should be the same.
: : : {2}rIng
: : :
: : I can't imagine such a platform exists. size_t is (at least) an integer, thus 2 bytes on 16-bits platforms.
: :
: :
: : Greets,
: : Eric Goldstein
: : http://www.gvh-maatwerk.nl
: :
: :
: :
: In 8-bit proccessors an integer should be 1 byte, and therefor size_t should be the same.
:
I was thinking of that. I'm just trying to make portable code, but porting to such a platform (a microcontroller) doesn't seem neccessary, I doubt a such a thing would need a bignum lib (it doesn't deserve such a classification, midnum sounds better ;-) )
{2}rIng