pow
Using the pow()-method in Java
I am writing a program in Java in which the user is supposed input an integer, n.My program should then create an array where the entries are [1.25^0], [1.25^1], . . ., [1.25^n].In order to make this[详细]
2023-04-09 09:51 分类:问答android kernel libm pow(float,float) implementation
I am testing corner cases on the pow call(#include <math.h>), specifically pow(-1, Inf). On my desktop (Ubuntu) I get the result 1.0, this is in accordance with the 2008 IE开发者_C百科EE floati[详细]
2023-04-05 04:17 分类:问答Using JavaScript Math.pow for Excel formular
I\'m having s开发者_如何学运维ome difficulty getting my JavaScript to produce the same results as a spreadsheet that\'s been given to me.[详细]
2023-03-29 14:28 分类:问答Power function in php to calculate 17^2147482999
I am trying to make a power function to calculate the power of 17^2147482999. I tried this code: function ipow($a, $b) {[详细]
2023-03-10 23:36 分类:问答pow() returning 0 (C++)
Could someone explain why pow() in the following code is returning a 0 when the program is run, rather than the actual calculation? I\'m a newbie to programming and I\'m entirely stumped.[详细]
2023-02-20 04:58 分类:问答gmp pow with two mpf_t
Is there an implementation in gmp that allows a power function withonly mpf_t\'s as argument? I want to do this:[详细]
2023-02-20 02:47 分类:问答Am I going crazy or is Math.Pow broken?
I used the base converter from here and changed it to work with ulong values, but when converting large numbers, specifically numbers higher than 16677181699666568 it was returning incorrect values. I[详细]
2023-02-19 10:12 分类:问答How wrong do I use Math.Pow(a,b) function in this C# code?
I can not find anything wrong with the following code, whence the MSVC# compiler stores NAN in \"c\":[详细]
2023-02-05 10:57 分类:问答How to: pow(real, real) in x86
I\'m looking for the implementation of pow(real,开发者_运维百科 real) in x86 Assembly. Also I\'d like to understand how the algorithm works.Just compute it as 2^(y*log2(x)).[详细]
2023-02-03 01:32 分类:问答C's pow function refuses to work with variable exponent
Let\'s say I have the following code snippet: int i; double value; for(i = 0; i < CONSTANT; i++) { value = (do开发者_高级运维uble)pow(2, i);[详细]
2023-01-30 21:54 分类:问答