Questions tagged [int64]

The int is a datatype that represents an integer and is coded on 64 bits in memory.

int64 is a datatype that represents an (a whole number, not a fraction) and is coded on 64 bits in memory. Unlike its counterpart which is , int64 can be used to store positive and negative integers of values between -263 to 263 - 1.

260 questions
0
votes
1 answer

Choosing correct datatypes for script language

I am writing a script language interpreter which is very similar to "C", with the difference that there are fewer data types for the numeric variables, only int (representing an int data type) and real (obviously a real number...). The interpreter…
Ferenc Deak
  • 34,348
  • 17
  • 99
  • 167
0
votes
2 answers

64 bit integer initialization error in Visual Studio 2010 SP1

I have a weird bug/error/self stupidity concern. I'm developing a small application in C, and I'm using Visual Studio 2010 SP1. The offending code: uint64_t sum_squared_X = 65535*65535*64; int64_t sum_squared_Y = 65535*65535*64; When debugging, I…
STaRGaZeR
  • 23
  • 1
  • 5
0
votes
2 answers

Translating C++ to python - memcpy uchar into int64

Alright, I'm copying some code (C++) that needs to run on my server (Python), everything was going well until the bit below. In a nutshell here is what I have in the C++ program: int main() { ... ... int64 value = 0; bool blah =…
IamAlexAlright
  • 1,500
  • 1
  • 16
  • 29
-1
votes
0 answers

Problem with class integer type using Azure Custom Vision tflite model with flutter-tflite

I am using a tensorflow lite model created in Azure Custom Vision. The model returns a tensor consisting of 4 lists . Here is my output specification final output = { 0: List>.filled(64, List.filled(4, 0)), 1:…
-1
votes
1 answer

I need to work with round or trunc functions in FreePascal with very big numbers(such as INT64)

var a,c,i,y,k:cardinal; z:real; check:boolean; repet:array[1..1000] of cardinal; tripet:array[1..1000,1..2] of real; begin read(c); i:=1; for a:=1 to (c) do begin z:= sqrt(c*c-a*a); if (c=round(z)) or (round(z)=0) then…
Mihai
  • 3
  • 1
-1
votes
1 answer

Go JSON Marshaller errors when converting int64 bytes

I am writing a time alias to JSON Marshal some time into a Unix format (left some of my experimenting test code in there type NotifyTime time.Time // MarshalJSON implements marshaller interface. Marshals time.Time into unix time in bytes func (t…
tpham
  • 9
-1
votes
3 answers

Convert "words" of an int64 into a list in Python

I have this variable: print(mv) genus 4505 snails 386 level 460 cats 2813 Please note that this is a siplification of an array of 100*1000 cells. The origin of this variable is: mv =…
-1
votes
2 answers

I want to sort an list so it contains all values that are not False

I have this data: l = ['10 20 10 36 30 33 400 400 -1 -1', '100 50 50 30 60 27 70 24 -2 -2 700 700', '300 1000 80 21 90 18 100 15 110 12 120 9 900 900 -3 -3', '30 90 130 6 140 3 -4 -4 1000 1000'] l = [e.split() for e in…
Kimdey
  • 11
  • 5
-1
votes
1 answer

Delphi strToint64 initial with zero value

in Delphi XE8 I have to convert a '03213213210' string into an int64 a:=strToint64('03213213210'); I receive a = 3213213210; How can i receive? a = 03213213210; Help me. Thank you.
-1
votes
1 answer

The 'idnumbers' property on 'xxx' could not be set to a 'System.Double' value. You must set this property to a non-null value of type 'System.Int64'.

I added a new attribute/column on my register form for an id number/social security number....... now bare in mind this is a 13 digit number and it gives me this error....... Please Assist.My Model My DB Design
Aaroni
  • 11
  • 1
-1
votes
1 answer

Delphi: add constant to TFileTime

I am new in Delphi and I need in my project add some constant to TFileTime which is record of lower and upper part of 64bit value. How to do this in Delphi? I have found only code in C++, but i dont know how make in Delphi unsigned int64 (ULONGLONG)…
Martin Fabian
  • 13
  • 1
  • 5
-2
votes
2 answers

Error "Cannot invoke initializer for type 'String' with an argument list of type '(Int64?)'" with nil-coalescing operator

I am getting an error "Cannot invoke initializer for type 'String' with an argument list of type '(Int64?)'" with nil-coalescing operator. There are similar questions on stackoverflow, but they did not give me the solution I need. My code with…
daniel
  • 1,446
  • 3
  • 29
  • 65
-2
votes
1 answer

How to compare a Int64 with a Int64

I working on a Swift program and now I have a problem: How do you compare a Int64 with a Int64? if(msgCount.value != msg.longLongValue){ Error: Binary operator '!=' cannot be applied to operands of type 'Int64' and 'Int64'
Laurens V
  • 551
  • 1
  • 7
  • 19
-2
votes
2 answers

How do I make an integer 'bigger'?

I am a C# beginner and I am working on a calculator in Windows Forms. I've encountered a problem in which I get one of those debug blurbs after 10 or more digits are inputed into the interface. It says something about a system overflow exception,…
user3587709
  • 89
  • 1
  • 6
-2
votes
2 answers

Random long long generator C++

What is a solution to generate random long long with cryptographic strength С++? (boost is allowed)
Roman
  • 69
  • 4
  • 10
1 2 3
17
18