- 博客(6)
- 资源 (3)
- 收藏
- 关注
原创 bigmathcs
using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace BigMathLib { public class BigMath { // 16/10 = 1.205/1 // 4G/10000 = 1.205*/4 public int Precision; public int Exponen
2010-07-23 17:27:00
152
原创 bigmathdll
void add(unsigned int* Num_Array, int Precision, int* pSign, int* pExponent, unsigned int* num_Num_Array, int num_Sign, int num_Exponent); int normalize(unsigned int* b, int len); void divide(int* rem0, int* rem1, unsigned int* rem_val, unsigned int* b,
2010-07-23 17:25:00
133
原创 div
//div int bitLen(int w) { int i; _asm { mov eax,w cmp eax,1 off; i--) { unsigned int b = c; c = val[i - 1]; val[i] = (c > n); } val[off] >>= n; } void primitiveLeftShiftOff(unsigned int* val, int off, int len, int n) {
2010-07-23 17:23:00
177
原创 add
// 加法,被加数高幂+加数低幂 或者 等幂相加 100 + 10 -》110 void addA(unsigned int* Num_Array, int Precision, int* pExponent, unsigned int* num_Num_Array, int num_Exponent) { int i; //被加数幂 int Exponent = *pExponent; //幂差 int disExp = Exponent - num_
2010-07-23 17:21:00
184
原创 mul
void mul(unsigned int* Num_Array, int Precision, int* pSign, int* pExponent, unsigned int* num_Num_Array, int num_Sign, int num_Exponent) { int i; //临时空间 1x unsigned int* buf_Num_Array = new unsigned int[Precision]; for (i = 0; i
2010-07-23 17:21:00
180
原创 物理模拟
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace physics{ public partial class Form1 : Form { public Form1() { InitializeComponent();
2010-07-14 16:18:00
175
mini webServer
2007-08-24
RSA文本加密
2007-08-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅