Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 01:55:44 +0000



Integer types in GSP

View Count: 1441

[2013-08-30 07:20:27]
vbmithr - Posts: 204
Reading the header file of GSP, I see that a lot of fields have type int. int does not have a standard size across architectures. IsĀ 32 bits enough to hold data that can be put in a "int" ?

Cheers, and thanks,

Vincent
[2013-08-30 09:46:49]
Sierra Chart Engineering - Posts: 104368
In GSP an integer is 32 bits. In the way that integers are used in GSP, 32 bits is plenty of capacity. Where 64 bits are necessary, we would clearly specify a 64-bit integer. In most places in GSP, the UNIX timestamps are 64 bits.

We will make it clear in the GSP header file, that the integers are 32 bits.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account