Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Manipulating 64 bit numbers in Pro*C

Re: Manipulating 64 bit numbers in Pro*C

From: Dan Clamage <clamage_at_mime.dw.lucent.com>
Date: 1997/11/03
Message-ID: <01bce865$f5dbb990$54110b87@clamagent>#1/1

> 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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US