Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Manipulating 64 bit numbers in Pro*C
> I do not want to
> assume that a long is 2^64 as this is compiler/machine dependant.
You can use the macros found in float.h to determine the size requirements
for long, int, double, etc. on your platform. Then use this value to size
the buffer you'll need to capture a long. This is about as machine/compile
independent as you'll get.
- djc
Received on Mon Nov 03 1997 - 00:00:00 CST
![]() |
![]() |