Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
Dustmuz

Large numbers - greater than 2.147.483.647

Question

i am using OC with a mekanism induction matrix.
but as soon as the number is higher than 2.147.483.647 - the program "halts", because the number is to big.

Is there a way to allow it to have even larger numbers??
as the getEnergy() function of the matrix returns 2.147.483.647 - but nothing higher

i would hate to resort to using computercraft if i can avoid it

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
12 minutes ago, BrisingrAerowing said:

Unless you can get a method to use 64-bit integers, there's nothing you can do.

i just found it weird, that the "same" method on computercraft is using 64 bit integers.
so i was hoping that there was a way around it with OC :)

Link to post
Share on other sites
  • 0

From reading the Mekanism source code, Mekanism in itself supports energy counts until the 63 or 64 bit number limit, or the double number limit, depending on what branch you are reading.

This probably means that your problem is an integration issue, so you should create an issue to Mekanism, as they made the OC-Mekanism integration.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.