The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 working with very large integers

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
dcaplan Posted - 08/03/2005 : 2:12:48 PM
Origin Version (Select Help-->About Origin): 7.0 SR4
Operating System: win xp

I'm working with data that represents nanosecond time values from 0 up to 1 hour (in ns). Any ideas of how I can make it easier to deal with large integers (up to around 3600000000000) in Origin?
I don't need decimal precision, but enough so that I can count by nanosecond (ie 1,2,3...3600000000000...)...

Any suggestions?

If I can use these large integers in originC, is it possible to put values such as these in a visible worksheet? Or will the worksheet data always show up as doubles (without enough precision)?

Thanks,
- David Caplan
2   L A T E S T    R E P L I E S    (Newest First)
verrallr@a Posted - 08/04/2005 : 2:17:29 PM
Double Precision numbers can have 15 digits. Your numbers are only 13 digits. Therefore, ORIGEN can easily handle your numbers.

Richard.
Hideo Fujii Posted - 08/03/2005 : 5:52:39 PM
Hi David,

I tried to change the option for the "Upper Threshold Poer"
(Tools:Options, Numeric Format tab) to the maximum, i.e., 14.

Then, I entered 3600000000000 and 3600000000001 to consequtive
cells in a worksheet column. Though I don't recall the exact
precision limit, it seems the worksheet cells can hold enough
digits in your case. (say, data1_b[2]-data1_b[1] returns the
value correctly 1).

Did you try?

--Hideo Fujii
OriginLab


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000