multiplication
multiplication in C without arithmetic operators
Is it possible to mul开发者_C百科tiply two numbers with out using arithmetic operators using C? Using the left shift operator, I can multiply any number by 2 only. How about other numbers?To solve thi[详细]
2023-03-23 07:08 分类:问答"Division by constant zero"? Microsoft Visual C#
Why am I getting an error message of \"Error1Division by constant zero2517ConsoleApplication3\" using System;[详细]
2023-03-23 03:52 分类:问答Accuracy of double precision multiplication in java?
What is the guaranteedaccuracy of multiplication operator for double values in java? For example, 2.2 * 100 is 220.0000开发者_开发知识库0000000003, but 220 is a double number. 220.00000000000003 is[详细]
2023-03-15 04:48 分类:问答Factorial in bignum library
Ive tried to create my own implementation of a bignum library I cant seem to get the factorial to work. If I ask it to solve 4!,it gives out 96. It multiplies 4 twice. similarly, 5! is 600, not 120. I[详细]
2023-03-14 21:34 分类:问答a="hello", b="bye", c=a*b then print c? [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly bro开发者_运维知识库ad, or rhetorical andcannot be reasonably answered in its current for[详细]
2023-03-13 07:36 分类:问答Project Euler #11
I recently started these projects to test my skills with Java. I got to problem 11, getting all the previous ones right. There is something wrong with my code. The answer that is returned seems to be[详细]
2023-03-11 19:50 分类:问答a fast algorithm to compute matrix multiplication
In the middle of a c++ code, eclipse, I need to compute the multiply of matrices A and B, with the size of 2400*3600 (so the dimensions are not the same). The matrices are stored in float two dimensio[详细]
2023-03-10 08:42 分类:问答Need to do 64 bit multiplication on a machine with 32 bit longs
I\'m working on a small embedded system that has 32 bit long ints.For one calculation I need output the time since 1970 in ms.I can get the time in 32 bit unsigned long seconds since 1970, but how can[详细]
2023-03-09 04:38 分类:问答Recursive method to multiply two non-negative ints
Just saw this in a past exam paper and am looking for the best way to do it since I can\'t figure it out. We are not allowed use multiplication in our answer, it must use repeated addition. It must al[详细]
2023-03-06 10:02 分类:问答Having trouble with multiplying a variable with a number
I\'m trying to shorten my code and have more functionality but its not working right. Heres my code(basically)[详细]
2023-03-05 05:48 分类:问答