From: Mark Rivers
Sent: Thursday, June 10, 2010 6:58
To: Patrick Thomas
Subject: RE: unsigned long record
The VAL field of a longin record is an
epicsInt32. That is the same size as an epicsUInt32. The difference
is just in the interpretation of the bit pattern. Do you need to represent
positive numbers greater than 2^31-1 (2147483647) in your application? If
not then there is no problem just using the epicsInt32 as is.
If you do, then depending on the application, you may
be able to just cast the epicsInt32 to epicsUInt32 to interpret the value as an
Are those large enough to hold an unsigned value?
Mark Rivers wrote:
> The longin record will hold DBF_LONG values.
> From: email@example.com on behalf of Patrick Thomas
> Sent: Wed 6/9/2010 8:51 PM
> To: firstname.lastname@example.org
> Subject: unsigned long record value
> Is there a record like the ai record that will hold unsigned long values?
> Thank you,