computation
What is the computational model of ICON and SNOBOL
I try to found computation model of programming languages like Icon and Snobol but i can\'t found the informati开发者_运维百科on about these programming languages...![详细]
2023-04-08 15:05 分类:问答Exponentiation by Squaring (Project Euler 99) Tips on my solution
Here is the problem I am talking about http://projecteuler.net/index.php?section=problems&id=99 My code will compile and run correctly. I am guessing the computation is where it is messing up. It[详细]
2023-03-28 23:17 分类:问答Determine the points of intersection between N spheres
Just wanted to know what is the best approach (in terms of speed and accuracy) to determin开发者_运维百科e the points of intersection on N spheres (it was asked for two spheres here); wanted to know w[详细]
2023-03-14 23:04 分类:问答How to fix computation errors?
I\'m trying to write a program that reads 2 numbers from the user and divides them. Here is the code I have so far:[详细]
2023-03-12 01:36 分类:问答how to compute a bitmap?
I am looking for a way to get all combination of a list item. what i thinking is to have a two dimention array, similary to a bit map[详细]
2023-03-08 01:16 分类:问答Calculating big float number fast like 0.4 ^ 100000000 ,, any ideas?
Ehm ... I got a problem I\'ve a certain calculation that result is over 10^-308 (the biggest value in double .net ) any way I solved this problem through a library called BIGFLOAT http://www.fractal-[详细]
2023-02-27 22:53 分类:问答Turing Machine with non trivial states and transitions
Please give me some idea as to how to go about this Draw a Turing machine (using 开发者_JAVA百科Sipser notation) having at least 4 nontrivial (i.e., nonrejecting) states and at least six nontrivial ([详细]
2023-02-13 01:53 分类:问答Simple date computation in C#
do you happen to have a sample code on how to subtract day tomorrow or 2 days from toda开发者_StackOverflow中文版y? And then I will multiply it by a number depending on its reserved value. I am figuri[详细]
2023-01-21 02:06 分类:问答Efficient polynomial evaluation with Horner's Algorithm
I have the equation y = 3(x+1)^2 + 5(x+1)^4. Using Horner\'s scheme I could evaluate this polynomial in this form, y = 8+x(26+x(33+x(20+5x))), th开发者_StackOverflow社区us requiring 8 arithmetic oper[详细]
2023-01-15 20:06 分类:问答Python: how so fast?
The period of the Mersenne Twister used in the module random is (I am told) 2**19937 - 1.As a binary number, that is 19937 \'1\'s in a row (if I\'m not mistaken).Python converts it to decimal pretty d[详细]
2022-12-18 02:39 分类:问答