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

TypeError: must be str, not numpy.int64

This should be working as i have seen it work on anothers however this is not working for me. I am doing a test/train model and trying to train the image This is all that i have tried. Data saved on google drive train_image = [] for i in…
0
votes
0 answers

std::vector< int64_t> trduced from c++ to java returns SWIGTYPE_p_in64_t which is unusable

I am trying to use swig (v3) to transform a function which have a std::vector as entry to a java code. but when compiling with swig, I got a file with a class StdVector_int64 with a method get(int i) that returns a SWIGTYPE_p_in64_t.... which is…
0
votes
0 answers

Sort datagridview column type int64?

I have a single datagridview column and I want it to be sorted by number type int64 (201905161102, 201905161101, 201905161103, 201905161102 ..) I've tried : datagridview.Sort(datagridview.Columns(0), ListSortDirection.Descending) But I have…
kof_eve
  • 1
  • 4
0
votes
0 answers

when using a progressbar gui form how to exceed the limit max [int32] of $progressbar.Maximum

I sometimes need to back up large files. I made a program to help me in this task which displays a gui progress bar. $progressbar.Maximum is an int32 type and I can not modify it to int64. I tried to convert it like this [int64]$progressbar.Maximum…
kramer
  • 177
  • 1
  • 4
  • 15
0
votes
0 answers

dcast.data.table issue with large data and small decimal values

I used functions from this answer to read multiple files and create a data table. I wanted to have the FileNames in different columns and for each variable that it doesn't exist to other "FileNames" to fill it with 0 part of dataset: …
K Y
  • 198
  • 2
  • 16
0
votes
1 answer

c# text to int64 representation

I'm trying to convert the string "Eureka" into its UTF-8 Int64 representation. I'm trying the following code : string message = "Eureka"; // if I use "Eureka\0\0" it works... byte[] bytes = System.Text.Encoding.UTF8.GetBytes(message); // this…
neggenbe
  • 1,697
  • 2
  • 24
  • 62
0
votes
2 answers

Numpy int64() function arguments?

Not sure why I cannot find this, but what does the following mean? hashvalue_byte_size = len(bytes(np.int64(42).data)) Going from left to right, I would generically say this describes the length of bytes in np.int64(42).data. So the byte length is…
spacedustpi
  • 351
  • 5
  • 18
0
votes
1 answer

Swift Cannot construct string with argument type Int64

I am making a game that involves a Game Center leaderboard. I want to make a custom leaderboard UI rather than using the default interface. I am trying to convert the values stored in a Game Center leaderboard into a string so that I may display…
Joe Wick
  • 33
  • 4
0
votes
2 answers

Change of value to the converter Int64 in string Python

I have a problem understanding what causes the date value to change when I convert. I have the following value "19670619", type int64. I need to convert to String and leave the date "06/19/1967". I did it this way: Op['dt'] =…
0
votes
1 answer

output INT64 from js UDF

I'm trying to use BigQuery's INT64 type to hold bit encoded information. I have to use a javascript udf function and I'd like to use all the 64 bits. My issue is that javascript only deals with int32 so 1 << 32 == 1 and I'm not sure how to use the…
Guig
  • 9,891
  • 7
  • 64
  • 126
0
votes
0 answers

How to get double as int64 in constexpr C++ code?

Is there a way to get the bits of a double as an int64_t in a constexpr function in C++? I first tried the usual *reinterpret_cast(&d), but that's not allowed in constexpr code, which makes some sense. Then, I tried the usual fallback,…
Neil Dickson
  • 305
  • 1
  • 8
0
votes
0 answers

A int64_t value overflows in a structure in C

I want to create a polynomial with only one term: 6/5 and display it. It should print this: 6/5X^0 The structure of polynomial is : typedef struct __poly_struct_t *poly_t; struct __poly_struct_t{ unsigned int deg; ratio_t *coeffs; }; Where…
Selina
  • 9
  • 3
0
votes
0 answers

Int64 don't show 0 when I save on Core Data

this is my add button: guard let name = texfiedldName.text else { return } guard let phoneNumber = texfiedldAge.text else { return } guard let email = texfiedldEmail.text else { return } formatting text let scanner = Scanner(string:…
Fabio
  • 5,432
  • 4
  • 22
  • 24
0
votes
2 answers

Strange behaviour of 64 bit integer in C++

I'm quite new to programming, I have recently learnt a little C++ and I am using Visual Studio 2017 Community version. I need to use a 64 bit integer to store a value and carry out some arithmetic operations, however my compiler only allows me to…
Reggie
  • 1
  • 1
0
votes
1 answer

Why Core Data has no type Int ? So what is best to choose from Int16 to Int64 if I have an Int?

I am working with tag's for objects on the screen using viewWithTag() which needs an Int and also UITapGestureRecognizer will provide the tag as an Int. I am keeping track of the status of my objects in Core Data, but Core Data does not support Int…
Heki
  • 319
  • 3
  • 12