Results for integer
Say I have a list of lists with list names that differ by the last integer in the name. gfit10_3 1,1,1) gfit10_1 1,1,1) gfit10_2 1,1,1) gfit10_10 1,1,...
int main(int argc, char *argv[]) { int i = -100; unsigned u = 10; cout "i = " i *= u; cout "i*10 = " i /= u; cout "i = " return 0...
I have a table TABLE_A Which has all the column as CHARACTER DATATYPE. Let's say in one of the column I have the value like : Column_A 123 1,123 I ha...
What is the easiest way to do integer division in PowerShell? So that the arguments are integers and the result is also an integer. In C++ it would be...
Let's say I have a number for example 12345. I want to calculate the sum each of all possible combinations for this number without changing the order ...
I'm attempting to make a game, where I have structs for each player, and store those player structs in an array. Now I'm trying to add a save/load fea...
Is it legal to use a function return type as long while taking integer parameters? using System; class Application { static void Main() { ...
I'm trying to understand how a JavaSript object sorts its properties. As far as I understood, from ECMA262, the first properties are always an integer...
How to you check if an aligned chunk of 16 u32's is consecutive (and increasing)? For example: [100, 101, 102, ..., 115] is. And, [100, 99, 3 ...] is ...
I'm trying to extract version numbers from lines in a file like below: grep abc | awk '{print $3}' somefile and getting multiline output as: 7.2.5.200...
Calling IEquatable.Equals from an integer 0 to test against a null object should return false but when using reflection it returns true. Given the fol...
I have a generic function that should accept both char and any other integer. Internally this value should be casted to a u64: macro_rules! char_cast ...
Which datatype is preferable? For any random number? Weather the number is a decimal or a integer? import java.util.Scanner; public class rectangleare...
I should check if the input value equals 'end' or a number.. I tried this but it reads integer value only second time I enter. Scanner scan = new Scan...
Given: #!/bin/bash # Define the number in scientific notation my_number="2.2e+6" I would like to convert this scientifically written notation number ...
Today i ran into roughly the following code: #include void f(float&& f) { std::cout "f "; } void f(int&& i) { std::cout "i "; } int main() { in...
Is it possible to create an iteration that does not iterate over arrays but uses an integer instead? This is the example provided in the documentation...
I am writing Python code that takes in a .csv file and uses the data in it to create graphs. I am using numpy.loadtxt to accomplish this. The beginnin...
I have a list of words which are also assigned a numerical value words = [[Happy,1],[Sad,2],[Anger,3]] I then have two additional lists, of just words...
I am experienced in C++ and started to play around with rust. Trying to implement some simple generic functions, I got stuck with the following proble...
My apologies if I haven't phrased this properly. I have an array of ~10^7 monotonically increasing elements: example_array = np.array([10, 10.5, 13, 1...
Inside a SQL table of roughly 30 million rows, I have a date field stored as an integer in the format "YYYYmmdd". As an example, today would be 202310...
I'm new to Ansible (about 1 week experience). I have this playbook that creates a deployment in my Kubernetes cluster using the module kubernetes.core...
I am currently working on an assignment for an Assembly Language class and have hit a wall with why it is not working properly. I need to count the oc...
I would like to sum all the item elements and get the result 18, but I get the error: TypeError: 'float' object cannot be interpreted as an integer Th...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?