荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: John (明天会更好), 信区: Linux_Unix
标  题: [合集]谁有RedHat9.0的ISO安装文件
发信站: 荔园晨风BBS站 (2005年05月14日11:56:00 星期六), 站内信件

☆   1  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月10日16:41:30 星期二


   想装个9.0,但这个光驱好像不行

   哪位有的,可否共享一下

   d:d@192.168.86.69:21

   十分感谢


☆   2  ──────────── 我是分割线 ─────────────────☆
发信人: anguskwan (妈我想你~爸我也想你), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月10日19:12:06 星期二

    fc3挺好的说




☆   3  ──────────── 我是分割线 ─────────────────☆
发信人: gdlituo (gdlituo), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月11日12:45:40 星期三

个人感觉的是fc3不错



☆   4  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月11日12:54:50 星期三


   但问题是我有个项目的软件

   必须要用gcc-3.2来安装

   FC3自带的gcc-3.4编译的时候会出问题

   然后我在FC2上试图安装gcc-3.2没有成功

   为这个问题郁闷了好几天

   所以想用redhat9.0试试


个人感觉的是fc3不错



☆   5  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月11日15:26:06 星期三


why?
gcc-3.2是redhat-gcc-3.2还是官方的3.2 ?
分别很大的。
什么错误?
你不会去装redhat 9.0的gcc-3.2吧?




☆   6  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月11日15:51:35 星期三


    此软件规定要用gcc-3.2来编译

    这是此软件特别强调的

    我下载的是GNU官方网站上的gcc-3.2.tar.gz

    在FC2上安装没有成功,试图找寻解决的办法也没有找到

    我在FC2上编译出现的错误在第5860篇文章中贴出来了

    你去看看,看能不能给我一些建议,非常感谢

    我想要9.0是想直接在9.0上编译,看结果会怎么样





☆   7  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月11日17:43:34 星期三

什么软件那么牛,一定要用gcc-3.2? 有没有说是官方的3.2 ?




☆   8  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月11日17:53:26 星期三

关于5860,你还没回答我的问题。所以给不了你建议。

另外,你的问题描述不够详细,对解决问题没有什么帮助。

另外还需要知道你的FC2的函数库glibc版本。

最好用apt把系统的软件升级到最新版本。不然有些软件会出问题。

你有没有按照我说的去试呢?




☆   9  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月11日23:08:15 星期三




http://www.isip.msstate.edu/projects/speech/software/html/system_requirements.h
tml

   这个网站上说明了编译这个软件必须要用gcc-3.2,在后面还搭了‘*’号



☆  10  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日13:49:30 星期五

你要编译哪个软件包?
是这两个么?

 Production System (r00_n11) ?
还有
 Prototype System (v5.15)?




☆  11  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日15:03:51 星期五


   要编译的是Production System

   Prototype System 我已经编译安装好了






☆  12  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日15:32:03 星期五

我的系统缺少sclite
要装这上面的哪个?
http://www.nist.gov/speech/tools/index.htm



☆  13  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日15:56:46 星期五


   我这里有

   ftp://e:e@192.168.86.69:21

   /isip/software/sctk-1.3.tgz

我的系统缺少sclite
要装这上面的哪个?
http://www.nist.gov/speech/tools/index.htm



☆  14  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:08:31 星期五

你可以看看里面的README.
prototype说的是You must have at least version 3.1.x of g++,

Production System的说:
You must have at least version 3.2.x of g++

所以你应该可以使用FC2自带的gcc,g++编译.




☆  15  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:09:26 星期五

我不能连内网.



☆  16  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:10:48 星期五

这个最新的
ftp://jaguar.ncsl.nist.gov/pub/sctk-2.0_Beta_4-20041018-1630.tgz
ftp://jaguar.ncsl.nist.gov/pub/sctk-2.0_Beta_6-test1-20050510-1504.tgz




☆  17  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:12:09 星期五

安装这个东西是否需要root权限?




☆  18  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:15:14 星期五


   那两个README我已经看过了

   你的意思是说我g++的版本不够高吗?

   我还没有查看过g++在红帽9里面的版本

   不过我想应该和gcc版本是一样的,红帽9中gcc的版本是3.2.2

   你还可以看看下面这个网站所说的


http://www.isip.msstate.edu/data/mailing_lists/support/2005/archive/msg00001.ht
ml




☆  19  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:18:46 星期五


   应该是

   我一直是用root用户直接登陆的

   装这个的时候好像有点小问题

   是关于man的,不会影响其他的




☆  20  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:19:25 星期五


   你可以先down下来试试

   建议用上面那个




☆  21  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:23:24 星期五


   晕~好歹我也是个研究生

   我明白at least 的意思

   你编译过了没有,我在FC2上编译过多次错误都是一样的

   在isip的网站上,他们自己说那个production system是不稳定的

   也是有很多漏洞的,他们将会进行改进

   不过现在还没有新的版本发布




☆  22  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:24:23 星期五

是不是和mailing list说的一样?
你可以去CVS看看,可能已经修正了.




☆  23  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:27:37 星期五


trying. wait



☆  24  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:27:41 星期五


   对,错误是一样的

   我一直在关注是否有新的版本

   如果你有空的话可以把那两个软件试着编译一下

   有什么问题大家一起讨论

   非常感谢你的帮助!





☆  25  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:30:21 星期五

那个sctk的check不能通过,有没有什么关系?




☆  26  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:31:33 星期五


   是关于man的吗?

   如果是关于man的那就没什么关系




☆  27  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:35:34 星期五

没仔细看.先装上试试.



☆  28  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:36:08 星期五

正在用gcc3.4.3编译.




☆  29  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:36:33 星期五


   嗯。。。

没仔细看.先装上试试.



☆  30  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:36:51 星期五


   期待编译成功

正在用gcc3.4.3编译.




☆  31  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:43:13 星期五

出错了.
你有没有遇过?
make[2]: Entering directory
`/home/jjksam/test/isip_proto_v5.15/util/communicator'
/home/jjksam/gcc/bin/g++ -I/home/jjksam/test/isip_proto_v5.15/include
-I/home/jjksam/test/isip_proto_v5.15/include -Wall -ftemplate-depth-50 -c
comm_frontend_0.cc
comm_frontend_0.cc: In function `int uttproc_rawdata(short int*, int, int)':
comm_frontend_0.cc:68: error: no matching function for call to
`Extract_feature::compute_cc(int_2*, int_4&, int_4)'
/home/jjksam/test/isip_proto_v5.15/include/extract_feature.h:199: note:
candidates are: logical_1 Extract_feature::compute_cc()
/home/jjksam/test/isip_proto_v5.15/include/extract_feature.h:203:
note:                 float_8* Extract_feature::compute_cc(int_2*&, int_4&,
int_4)
make[2]: *** [comm_frontend_0.o] Error 1
make[2]: Leaving directory
`/home/jjksam/test/isip_proto_v5.15/util/communicator'
make[1]: *** [b1target_communicator] Error 2
make: *** [all] Error 2

】 : 正在用gcc3.4.3编译.



☆  32  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:48:42 星期五


   没有遇到这个错误

   我在安装prototype的没有遇到过错误

   我在rh9和fc2上都安装过




☆  33  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日16:53:50 星期五


   rh9的gcc是3.2.2

   FC2上的是3.3.3




☆  34  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日17:06:13 星期五

i use Redhat EL AS 3.0
系统的
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-42)

我自己用gcc3.4.3来编译这个东西:

是下面这里出错:

不知道gcc3.4有什么问题

在extract_feature.h:197
  //
  logical_1 compute_cc();

  // compute method for communicator
  //
  float_8* compute_cc(int_2*& in_data, int_4& num_samples, int_4 block);

comm_frontend_0.cc:68
int uttproc_rawdata(short* in_data, int num_samples, int block) {

  // local variables
  //
  int_4 samples = num_samples;

  // compute the feature data from audio raw data
  //
  float_8* mfc_data = frontend.compute_cc((int_2*)in_data, samples,
                                          (int_4)block);

出错信息:
comm_frontend_0.cc: In function `int uttproc_rawdata(short int*, int, int)':
comm_frontend_0.cc:68: error: no matching function for call to
`Extract_feature::compute_cc(int_2*, int_4&, int_4)'
/home/jjksam/test/isip_proto_v5.15/include/extract_feature.h:198: note:
candidates are: logical_1 Extract_feature::compute_cc()
/home/jjksam/test/isip_proto_v5.15/include/extract_feature.h:202:
note:                 float_8* Extract_feature::compute_cc(int_2*&, int_4&,
int_4)

不明白为何short* in_data;
(int_2*)in_data

不是int_2*&而是int_2*

 在 John ( 明天会更好) 的大作中提到: 】:    rh9 的gcc是3.2.2:    FC2上的是3.3.3



☆  35  ──────────── 我是分割线 ─────────────────☆
发信人: kaman (天外飞仙), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日17:10:14 星期五


    噢,上十大了,呵呵




☆  36  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日17:10:43 星期五

解决了:
原来gcc 3.4.3加强了prototype check.
comm_frontend_0.cc:65

  // compute the feature data from audio raw data
  //
- float_8* mfc_data = frontend.compute_cc((int_2*)in_data, samples,
+ float_8* mfc_data = frontend.compute_cc((int_2*&)in_data, samples,
                                          (int_4)block);




☆  37  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日17:10:52 星期五

ft..



☆  38  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日17:12:41 星期五


   good!

   顺带说一句,我的C学得不好

   还要加油




☆  39  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日17:14:15 星期五


   这个上不了吧,就我们两个在这里说

   你来参和一下还差不多




☆  40  ──────────── 我是分割线 ─────────────────☆
发信人: kaman (天外飞仙), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日17:17:46 星期五


    按大写H看看第七位,呵呵




☆  41  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日17:19:17 星期五


   哈哈~~~~~~~~

   真的哦,真是难得一见啊




☆  42  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日17:22:44 星期五


   悄悄的问,jjksam是哪个学院的?




☆  43  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日17:28:36 星期五

2000 com




☆  44  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日17:31:00 星期五


good, 遇到你说的那个错误了. 就快可以搞定了. 等我好消息.




☆  45  ──────────── 我是分割线 ─────────────────☆
发信人: jjksam (VOIP engineer), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日18:16:56 星期五

还没改好.
下班回家了~
先贴个patch, 你试试.如果要附件的话等晚上我回去再贴,这里贴不方便.

Only in isip_r00_n11: bin
diff -ur isip_r00_n11/class/io/NameMap/NameMap.h
isip_r00_n11.orig/class/io/NameMap/NameMap.h
--- isip_r00_n11/class/io/NameMap/NameMap.h 2005-05-13 17:38:54.000000000
+0800
+++ isip_r00_n11.orig/class/io/NameMap/NameMap.h    2001-05-03
23:50:51.000000000 +0800
@@ -36,7 +36,7 @@

   // define constraints on the size of the map
   //
-  static const ulong MAX_LENGTH = ((ulong)1 << 16);
+  static const ulong MAX_LENGTH = (ulong)Integral::TWO_EXP16;

   //----------------------------------------
   //
diff -ur isip_r00_n11/class/math/scalar/MComplexScalar/MComplexScalar.h
isip_r00_n11.orig/class/math/scalar/MComplexScalar/MComplexScalar.h
--- isip_r00_n11/class/math/scalar/MComplexScalar/MComplexScalar.h
2005-05-13 17:52:18.000000000 +0800
+++ isip_r00_n11.orig/class/math/scalar/MComplexScalar/MComplexScalar.h
2002-03-13 06:28:46.000000000 +0800
@@ -129,13 +129,13 @@
   // method: copy constructor
   //
   MComplexScalar(const MComplexScalar& arg) {
-    this.value_d = arg.value_d;
+    value_d = arg.value_d;
   }

   // method: assign
   //
   boolean assign(const TCScalar& arg) {
-    this.value_d = arg;
+    value_d = arg;
     return true;
   }

@@ -186,7 +186,7 @@
   // method: clear
   //
   boolean clear(Integral::CMODE ctype = Integral::DEF_CMODE) {
-    this.value_d = (TCScalar)DEF_VALUE;
+    value_d = (TCScalar)DEF_VALUE;
     return true;
   }

@@ -215,7 +215,7 @@
   //
   template<class TAIntegral>
   boolean assign(TAIntegral arg) {
-    this.value_d = (TCScalar)arg;
+    value_d = (TCScalar)arg;
     return true;
   }

@@ -223,13 +223,13 @@
   //
   template<class TAIntegral>
   boolean assign(TAIntegral real, TAIntegral imag) {
-    return this.value_d.assign((TIntegral)real, (TIntegral)imag);
+    return value_d.assign((TIntegral)real, (TIntegral)imag);
   }

   // method: assign
   //
   boolean assign(const String& arg) {
-    arg.get(this.value_d);
+    arg.get(value_d);
     return true;
   }

@@ -244,13 +244,13 @@
   // method: angle
   //
   double angle() const {
-    return this.value_d.angle();
+    return value_d.angle();
   }

   // method: conjugate
   //
   TCScalar conjugate() const {
-    return this.value_d.conjugate();
+    return value_d.conjugate();
   }

   // gaussian random number generation methods
@@ -267,19 +267,19 @@
   // method: imag
   //
   TIntegral imag() const {
-    return this.value_d.imag();
+    return value_d.imag();
   }

   // method: abs
   //
   double abs() const {
-    return this.value_d.abs();
+    return value_d.abs();
   }

   // method: mag
   //
   double mag() const {
-    return this.value_d.mag();
+    return value_d.mag();
   }

   // random number generation methods
@@ -294,7 +294,7 @@
   // method: real
   //
   TIntegral real() const {
-    return this.value_d.real();
+    return value_d.real();
   }

   // method: sign
@@ -303,9 +303,9 @@
   //
   TCScalar sign(TCScalar arg) {
     if (arg.real() < (TSize)0.0) {
-      return (this.value_d = (TCScalar)Integral::NEGATIVE);
+      return (value_d = (TCScalar)Integral::NEGATIVE);
     }
-    return (this.value_d = (TCScalar)Integral::POSITIVE);
+    return (value_d = (TCScalar)Integral::POSITIVE);
   }


//---------------------------------------------------------------------------
@@ -318,7 +318,7 @@
   // method: centerClip
   //
   TCScalar centerClip(TIntegral min, TIntegral max) {
-    return centerClip(min, max, this.value_d);
+    return centerClip(min, max, value_d);
   }

   // method: centerClip
@@ -331,30 +331,30 @@
     double magnitude = arg.mag();

     if ((magnitude >= max) || (magnitude <= min))
-      this.value_d = arg;
+      value_d = arg;
     else if (magnitude < ((min + max) / 2)) {
-      this.value_d = SysComplex<TIntegral>
+      value_d = SysComplex<TIntegral>
    ((TIntegral)(arg.real() * min / magnitude),
     (TIntegral)(arg.imag() * min / magnitude));
     }
     else {
-     this.value_d = SysComplex<TIntegral>
+     value_d = SysComplex<TIntegral>
        ((TIntegral)(arg.real() * max / magnitude),
    (TIntegral)(arg.imag() * max / magnitude));
     }
-    return this.value_d;
+    return value_d;
   }

   // method: fraction
   //
   TCScalar fraction() {
-    return fraction(this.value_d);
+    return fraction(value_d);
   }

   // method: fraction
   //
   TCScalar fraction(TCScalar arg) {
-    return (this.value_d = SysComplex<TIntegral>
+    return (value_d = SysComplex<TIntegral>
       ((TIntegral)Integral::fraction(arg.real()),
        (TIntegral)Integral::fraction(arg.imag())));
   }
@@ -362,7 +362,7 @@
   // method: limitMag
   //
   TCScalar limitMag(TIntegral thresh, TIntegral output) {
-    return limitMag(thresh, output, this.value_d);
+    return limitMag(thresh, output, value_d);
   }

   // method: limitMag
@@ -370,11 +370,11 @@
   TCScalar limitMag(TIntegral thresh, TIntegral output, TCScalar arg) {
     double magnitude = arg.mag();
     if (magnitude > thresh) {
-      return (this.value_d = SysComplex<TIntegral>
+      return (value_d = SysComplex<TIntegral>
          ((TIntegral)(arg.real() * output / magnitude),
           (TIntegral)(arg.imag() * output / magnitude)));
     }
-    return (this.value_d = arg);
+    return (value_d = arg);
   }


//---------------------------------------------------------------------------
diff -ur isip_r00_n11/class/math/scalar/MScalar/MScalar.h
isip_r00_n11.orig/class/math/scalar/MScalar/MScalar.h
--- isip_r00_n11/class/math/scalar/MScalar/MScalar.h    2005-05-13
17:54:51.000000000 +0800
+++ isip_r00_n11.orig/class/math/scalar/MScalar/MScalar.h   2002-08-03
07:46:55.000000000 +0800
@@ -51,14 +51,13 @@

   // random number related constants
   //
-  static const double RAND_BYTE_MAX = ((ulong)1 << 8);
-  static const double RAND_USHORT_MAX = ((ulong)1 << 16);
-  static const double RAND_ULONG_MAX = (((ulong)1 << 16) * ((ulong)1 << 16));
-  static const double RAND_ULLONG_MAX = ((((ulong)1 << 16) * ((ulong)1 <<
16)) * (((ulong)1 << 16) * ((ulong)1 <<
-16)));
-  static const double RAND_SHORT_MAX = ((ulong)1 << 15);
-  static const double RAND_LONG_MAX = ((ulong)1 << 31);
-  static const double RAND_LLONG_MAX = ((((ulong)1 << 16) * ((ulong)1 <<
16)) * ((ulong)1 << 31));
+  static const double RAND_BYTE_MAX = Integral::TWO_EXP8;
+  static const double RAND_USHORT_MAX = Integral::TWO_EXP16;
+  static const double RAND_ULONG_MAX = Integral::TWO_EXP32;
+  static const double RAND_ULLONG_MAX = Integral::TWO_EXP64;
+  static const double RAND_SHORT_MAX = Integral::TWO_EXP15;
+  static const double RAND_LONG_MAX = Integral::TWO_EXP31;
+  static const double RAND_LLONG_MAX = Integral::TWO_EXP63;

   // i/o related constants
   //
@@ -147,7 +146,7 @@
   // method: assign
   //
   boolean assign(const MScalar& arg) {
-    this.value_d = (TIntegral)arg;
+    value_d = (TIntegral)arg;
     return true;
   }

@@ -194,7 +193,7 @@
   // method: eq
   //
   boolean eq(const MScalar& arg_a) const {
-    return (this.value_d == arg_a.value_d);
+    return (value_d == arg_a.value_d);
   }

   // memory management methods:
@@ -205,7 +204,7 @@
   // method: clear
   //
   boolean clear(Integral::CMODE ctype = Integral::DEF_CMODE) {
-    this.value_d = (TIntegral)DEF_VALUE;
+    value_d = (TIntegral)DEF_VALUE;
     return true;
   }

@@ -229,27 +228,27 @@
   //
   template<class TAIntegral>
   boolean assign(TAIntegral arg) {
-    this.value_d = (TIntegral)arg;
+    value_d = (TIntegral)arg;
     return true;
   }

   // method: assign
   //
   boolean assign(const String& arg) {
-    arg.get(this.value_d);
+    arg.get(value_d);
     return true;
   }

   // method: get
   //
   boolean get(String& arg) const {
-    return arg.assign(this.value_d);
+    return arg.assign(value_d);
   }

   // method: memSize
   //
   long memSize() const {
-    return (long)sizeof(this.value_d);
+    return (long)sizeof(value_d);
   }

   // method: presentValue
@@ -273,14 +272,14 @@
   // method: almostEqual
   //
   boolean almostEqual(TIntegral arg) const {
-    return Integral::almostEqual(this.value_d, arg);
+    return Integral::almostEqual(value_d, arg);
   }

   // method: almostEqual
   //
   boolean almostEqual(TIntegral arg, double percent,
              double bound = Integral::DEF_BOUND) const {
-    return Integral::almostEqual(this.value_d, arg, percent, bound);
+    return Integral::almostEqual(value_d, arg, percent, bound);
   }


//---------------------------------------------------------------------------
@@ -293,95 +292,95 @@
   // method: operator TIntegral()
   //
   operator TIntegral() const {
-    return this.value_d;
+    return value_d;
   }

   // method: operator +
   //
   TIntegral operator+ (TIntegral arg) const {
-    return this.value_d + arg;
+    return value_d + arg;
   }

   // method: operator -
   //
   TIntegral operator- (TIntegral arg) const {
-    return this.value_d - arg;
+    return value_d - arg;
   }

   // method: operator *
   //
   TIntegral operator* (TIntegral arg) const {
-    return this.value_d * arg;
+    return value_d * arg;
   }

   // method: operator /
   //
   TIntegral operator/ (TIntegral arg) const {
-    return this.value_d / arg;
+    return value_d / arg;
   }

   // method: operator %
   //
   TIntegral operator% (TIntegral arg) const {
-    return this.value_d % arg;
+    return value_d % arg;
   }

   // method: operator ++
   //
   TIntegral operator++ () {
-    return ++this.value_d;
+    return ++value_d;
   }

   // method: operator --
   //
   TIntegral operator-- () {
-    return --this.value_d;
+    return --value_d;
   }

   // method: operator ++
   //
   TIntegral operator++ (int) {
-    return this.value_d++;
+    return value_d++;
   }

   // method: operator --
   //
   TIntegral operator-- (int) {
-    return this.value_d--;
+    return value_d--;
   }

   // method: operator +=
   //
   MScalar& operator+= (TIntegral arg) {
-    this.value_d += arg;
+    value_d += arg;
     return *this;
   }

   // method: operator -=
   //
   MScalar& operator-= (TIntegral arg) {
-    this.value_d -= arg;
+    value_d -= arg;
     return *this;
   }

   // method: operator *=
   //
   MScalar& operator*= (TIntegral arg) {
-    this.value_d *= arg;
+    value_d *= arg;
     return *this;
   }

   // method: operator /=
   //
   MScalar& operator/= (TIntegral arg) {
-    this.value_d /= arg;
+    value_d /= arg;
     return *this;
   }

   // method: operator %=
   //
   MScalar& operator%= (TIntegral arg) {
-    this.value_d %= arg;
+    value_d %= arg;
     return *this;
   }

@@ -431,7 +430,7 @@
   // method: eq
   //
   boolean eq(TIntegral arg) const {
-    return (this.value_d == arg);
+    return (value_d == arg);
   }

   // method: eq
@@ -443,31 +442,31 @@
   // method: ne
   //
   boolean ne(TIntegral arg) const {
-    return (this.value_d != arg);
+    return (value_d != arg);
   }

   // method: lt
   //
   boolean lt(TIntegral arg) const {
-    return (this.value_d < arg);
+    return (value_d < arg);
   }

   // method: le
   //
   boolean le(TIntegral arg) const {
-    return (this.value_d <= arg);
+    return (value_d <= arg);
   }

   // method: gt
   //
   boolean gt(TIntegral arg) const {
-    return (this.value_d > arg);
+    return (value_d > arg);
   }

   // method: ge
   //
   boolean ge(TIntegral arg) const {
-    return (this.value_d >= arg);
+    return (value_d >= arg);
   }


//---------------------------------------------------------------------------
@@ -480,73 +479,73 @@
   // method: band
   //
   TIntegral band(TIntegral arg) {
-    return band(this.value_d, arg);
+    return band(value_d, arg);
   }

   // method: band
   //
   TIntegral band(TIntegral arg1, TIntegral arg2) {
-    return (this.value_d = (arg1 & arg2));
+    return (value_d = (arg1 & arg2));
   }

   // method: bor
   //
   TIntegral bor(TIntegral arg) {
-    return bor(this.value_d, arg);
+    return bor(value_d, arg);
   }

   // method: bor
   //
   TIntegral bor(TIntegral arg1, TIntegral arg2) {
-    return (this.value_d = (arg1 | arg2));
+    return (value_d = (arg1 | arg2));
   }

   // method: bxor
   //
   TIntegral bxor(TIntegral arg) {
-    return bxor(this.value_d, arg);
+    return bxor(value_d, arg);
   }

   // method: bxor
   //
   TIntegral bxor(TIntegral arg1, TIntegral arg2) {
-     return (this.value_d = (arg1 ^ arg2));
+     return (value_d = (arg1 ^ arg2));
   }

   // method: brs
   //
   TIntegral brs(TIntegral incr) {
-    return brs(this.value_d, incr);
+    return brs(value_d, incr);
   }

   // method: brs
   //
   TIntegral brs(TIntegral arg, TIntegral incr) {
-    return (this.value_d = (arg >> incr));
+    return (value_d = (arg >> incr));
   }

   // method: bls
   //
   TIntegral bls(TIntegral incr) {
-    return bls(this.value_d, incr);
+    return bls(value_d, incr);
   }

   // method: bls
   //
   TIntegral bls(TIntegral arg, TIntegral incr) {
-    return (this.value_d = (arg << incr));
+    return (value_d = (arg << incr));
   }

   // method: bcmpl
   //
   TIntegral bcmpl() {
-    return bcmpl(this.value_d);
+    return bcmpl(value_d);
   }

   // method: bcmpl
   //
   TIntegral bcmpl(TIntegral arg) {
-    return (this.value_d = (~arg));
+    return (value_d = (~arg));
   }


//---------------------------------------------------------------------------
@@ -559,61 +558,61 @@
   // method: add
   //
   TIntegral add(TIntegral arg2) {
-    return add(this.value_d, arg2);
+    return add(value_d, arg2);
   }

   // method: add
   //
   TIntegral add(TIntegral arg1, TIntegral arg2) {
-    return (this.value_d = arg1 + arg2);
+    return (value_d = arg1 + arg2);
   }

   // method: sub
   //
   TIntegral sub(TIntegral arg2) {
-    return sub(this.value_d, arg2);
+    return sub(value_d, arg2);
   }

   // method: sub
   //
   TIntegral sub(TIntegral arg1, TIntegral arg2) {
-    return (this.value_d = arg1 - arg2);
+    return (value_d = arg1 - arg2);
   }

   // method: mult
   //
   TIntegral mult(TIntegral arg2) {
-    return mult(this.value_d, arg2);
+    return mult(value_d, arg2);
   }

   // method: mult
   //
   TIntegral mult(TIntegral arg1, TIntegral arg2) {
-    return (this.value_d = arg1 * arg2);
+    return (value_d = arg1 * arg2);
   }

   // method: div
   //
   TIntegral div(TIntegral arg2) {
-    return div(this.value_d, arg2);
+    return div(value_d, arg2);
   }

   // method: div
   //
   TIntegral div(TIntegral arg1, TIntegral arg2) {
-    return (this.value_d = arg1 / arg2);
+    return (value_d = arg1 / arg2);
   }

   // method: mod
   //
   TIntegral mod(TIntegral arg2) {
-    return mod(this.value_d, arg2);
+    return mod(value_d, arg2);
   }

   // method: mod
   //
   TIntegral mod(TIntegral arg1, TIntegral arg2) {
-    return (this.value_d = arg1 % arg2);
+    return (value_d = arg1 % arg2);
   }


//---------------------------------------------------------------------------
@@ -626,110 +625,110 @@
   // method: abs
   //
   TIntegral abs() {
-    return abs(this.value_d);
+    return abs(value_d);
   }

   // method: abs
   //
   TIntegral abs(TIntegral arg) {
     if (arg > (TIntegral)0) {
-      this.value_d = arg;
+      value_d = arg;
     }
     else {
-      this.value_d = -arg;
+      value_d = -arg;
     }
-    return this.value_d;
+    return value_d;
   }

   // method: acos
   //
   TIntegral acos() {
-    return acos(this.value_d);
+    return acos(value_d);
   }

   // method: acos
   //
   TIntegral acos(TIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::acos(arg));
+    return (value_d = (TIntegral)Integral::acos(arg));
   }

   // method: acosh
   //
   TIntegral acosh() {
-    return acosh(this.value_d);
+    return acosh(value_d);
   }

   // method: acosh
   //
   TIntegral acosh(TIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::acosh(arg));
+    return (value_d = (TIntegral)Integral::acosh(arg));
   }

   // method: asin
   //
   TIntegral asin() {
-    return asin(this.value_d);
+    return asin(value_d);
   }

   // method: asin
   //
   TIntegral asin(TIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::asin(arg));
+    return (value_d = (TIntegral)Integral::asin(arg));
   }

   // method: asinh
   //
   TIntegral asinh() {
-    return asinh(this.value_d);
+    return asinh(value_d);
   }

   // method: asinh
   //
   TIntegral asinh(TIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::asinh(arg));
+    return (value_d = (TIntegral)Integral::asinh(arg));
   }

   // method: atan
   //
   TIntegral atan() {
-    return atan(this.value_d);
+    return atan(value_d);
   }

   // method: atan
   //
   TIntegral atan(TIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::atan(arg));
+    return (value_d = (TIntegral)Integral::atan(arg));
   }

   // method: atanh
   //
   TIntegral atanh() {
-    return atanh(this.value_d);
+    return atanh(value_d);
   }

   // method: atanh
   //
   TIntegral atanh(TIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::atanh(arg));
+    return (value_d = (TIntegral)Integral::atanh(arg));
   }

   // method: ceil
   //
   TIntegral ceil() {
-    return ceil(this.value_d);
+    return ceil(value_d);
   }

   // method: ceil
   //
   template <class TAIntegral>
   TIntegral ceil(TAIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::ceil(arg));
+    return (value_d = (TIntegral)Integral::ceil(arg));
   }

   // method: centerClip
   //
   TIntegral centerClip(TIntegral min, TIntegral max) {
-    return MScalarMethods::centerClip(*this, min, max, this.value_d);
+    return MScalarMethods::centerClip(*this, min, max, value_d);
   }

   // method: centerClip
@@ -741,102 +740,102 @@
   // method: cos
   //
   TIntegral cos() {
-    return cos(this.value_d);
+    return cos(value_d);
   }

   // method: cos
   //
   TIntegral cos(TIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::cos(arg));
+    return (value_d = (TIntegral)Integral::cos(arg));
   }

   // method: cosh
   //
   TIntegral cosh() {
-    return cosh(this.value_d);
+    return cosh(value_d);
   }

   // method: cosh
   //
   TIntegral cosh(TIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::cosh(arg));
+    return (value_d = (TIntegral)Integral::cosh(arg));
   }

   // method: exp
   //
   TIntegral exp() {
-    return exp(this.value_d);
+    return exp(value_d);
   }

   // method: exp
   //
   TIntegral exp(TIntegral arg) {
-    return (this.value_d = presentValue(Integral::exp(arg)));
+    return (value_d = presentValue(Integral::exp(arg)));
   }

   // method: exp2
   //
   TIntegral exp2() {
-    return exp2(this.value_d);
+    return exp2(value_d);
   }

   // method: exp2
   //
   TIntegral exp2(TIntegral arg) {
-    return (this.value_d = presentValue(Integral::exp2(arg)));
+    return (value_d = presentValue(Integral::exp2(arg)));
   }

   // method: exp10
   //
   TIntegral exp10() {
-    return exp10(this.value_d);
+    return exp10(value_d);
   }

   // method: exp10
   //
   TIntegral exp10(TIntegral arg) {
-    return (this.value_d =  presentValue(Integral::exp10(arg)));
+    return (value_d =  presentValue(Integral::exp10(arg)));
   }

   // method: factorial
   //
   TIntegral factorial() {
-    return factorial(this.value_d);
+    return factorial(value_d);
   }

   // method: factorial
   //
   TIntegral factorial(TIntegral arg) {
-    this.value_d = 1;
+    value_d = 1;
     for (TIntegral count = 2; count <= arg; count++) {
-      this.value_d *= count;
+      value_d *= count;
     }
-    return this.value_d;
+    return value_d;
   }

   // method: floor
   //
   TIntegral floor() {
-    return floor(this.value_d);
+    return floor(value_d);
   }

   // method: floor
   //
   template <class TAIntegral>
   TIntegral floor(TAIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::floor(arg));
+    return (value_d = (TIntegral)Integral::floor(arg));
   }

   // method: fraction
   //
   TIntegral fraction() {
-    return fraction(this.value_d);
+    return fraction(value_d);
   }

   // method: fraction
   //
   TIntegral fraction(TIntegral arg) {
-    return (this.value_d = (TIntegral)0);
+    return (value_d = (TIntegral)0);
   }

   // gaussian random number generation methods
@@ -847,26 +846,26 @@
   // method: hash
   //
   ulong hash(ulong hsize) const {
-    return Integral::hash(this.value_d,  hsize);
+    return Integral::hash(value_d,  hsize);
   }

   // method: inverse
   //
   TIntegral inverse() {
-    return inverse(this.value_d);
+    return inverse(value_d);
   }

   // method: inverse
   //
   TIntegral inverse(TIntegral arg) {
-    this.value_d = 1;
-    return (this.value_d /= arg);
+    value_d = 1;
+    return (value_d /= arg);
   }

   // method: limit
   //
   TIntegral limit(TIntegral min, TIntegral max) {
-    return MScalarMethods::limit(*this, min, max, this.value_d);
+    return MScalarMethods::limit(*this, min, max, value_d);
   }

   // method: limit
@@ -878,7 +877,7 @@
   // method: limitMag
   //
   TIntegral limitMag(TIntegral thresh, TIntegral output) {
-    return MScalarMethods::limitMag(*this, thresh, output, this.value_d);
+    return MScalarMethods::limitMag(*this, thresh, output, value_d);
   }

   // method: limitMag
@@ -890,105 +889,105 @@
   // method: log
   //
   TIntegral log() {
-    return log(this.value_d);
+    return log(value_d);
   }

   // method: log
   //
   TIntegral log(TIntegral arg) {
-    return (this.value_d = presentValue(Integral::log(arg)));
+    return (value_d = presentValue(Integral::log(arg)));
   }

   // method: log2
   //
   TIntegral log2() {
-    return log2(this.value_d);
+    return log2(value_d);
   }

   // method: log2
   //
   TIntegral log2(TIntegral arg) {
-    return (this.value_d = presentValue(Integral::log2(arg)));
+    return (value_d = presentValue(Integral::log2(arg)));
   }

   // method: log10
   //
   TIntegral log10() {
-    return log10(this.value_d);
+    return log10(value_d);
   }

   // method: log10
   //
   TIntegral log10(TIntegral arg) {
-    return (this.value_d = presentValue(Integral::log10(arg)));
+    return (value_d = presentValue(Integral::log10(arg)));
   }

   // method: log1p
   //
   TIntegral log1p() {
-    return log1p(this.value_d);
+    return log1p(value_d);
   }

   // method: log1p
   //
   TIntegral log1p(TIntegral arg) {
-    return (this.value_d = presentValue(Integral::log1p(arg)));
+    return (value_d = presentValue(Integral::log1p(arg)));
   }

   // method: max
   //
   TIntegral max(TIntegral arg) {
-    return max(this.value_d, arg);
+    return max(value_d, arg);
   }

   // method: max
   //
   TIntegral max(TIntegral arg_1, TIntegral arg_2) {
     if (arg_1 > arg_2) {
-      return (this.value_d = arg_1);
+      return (value_d = arg_1);
     }
-    return (this.value_d = arg_2);
+    return (value_d = arg_2);
   }

   // method: min
   //
   TIntegral min(TIntegral arg) {
-    return min(this.value_d, arg);
+    return min(value_d, arg);
   }

   // method: min
   //
   TIntegral min(TIntegral arg_1, TIntegral arg_2) {
     if (arg_1 > arg_2) {
-      return (this.value_d = arg_2);
+      return (value_d = arg_2);
     }
     else {
-      return (this.value_d = arg_1);
+      return (value_d = arg_1);
     }
   }

   // method: neg
   //
   TIntegral neg() {
-    return neg(this.value_d);
+    return neg(value_d);
   }

   // method: neg
   //
   TIntegral neg(TIntegral arg) {
-    return (this.value_d = -arg);
+    return (value_d = -arg);
   }

   // method: pow
   //
   TIntegral pow(TIntegral exponent) {
-    return pow(this.value_d, exponent);
+    return pow(value_d, exponent);
   }

   // method: pow
   //
   TIntegral pow(TIntegral arg, TIntegral exponent) {
-    return (this.value_d = presentValue(Integral::pow(arg, exponent)));
+    return (value_d = presentValue(Integral::pow(arg, exponent)));
   }

   // random number generation methods
@@ -1000,125 +999,125 @@
   // method: rceil
   //
   TIntegral rceil() {
-    return rceil(this.value_d);
+    return rceil(value_d);
   }

   // method: rceil
   //
   TIntegral rceil(TIntegral arg) {
-    return (this.value_d = (TIntegral)(Integral::ceil(arg) - arg));
+    return (value_d = (TIntegral)(Integral::ceil(arg) - arg));
   }

   // method: rfloor
   //
   TIntegral rfloor() {
-    return rfloor(this.value_d);
+    return rfloor(value_d);
   }

   // method: rfloor
   //
   TIntegral rfloor(TIntegral arg) {
-    return (this.value_d = (TIntegral)(Integral::floor(arg) - arg));
+    return (value_d = (TIntegral)(Integral::floor(arg) - arg));
   }

   // method: round
   //
   TIntegral round() {
-    return round(this.value_d);
+    return round(value_d);
   }

   // method: round
   //
   template <class TAIntegral>
   TIntegral round(TAIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::round(arg));
+    return (value_d = (TIntegral)Integral::round(arg));
   }

   // method: sign
   //
   TIntegral sign() {
-    return sign(this.value_d);
+    return sign(value_d);
   }

   // method: sign
   //
   TIntegral sign(TIntegral arg) {
     if (arg < (TIntegral)0.0) {
-      return (this.value_d = (TIntegral)Integral::NEGATIVE);
+      return (value_d = (TIntegral)Integral::NEGATIVE);
     }
-    return (this.value_d = (TIntegral)Integral::POSITIVE);
+    return (value_d = (TIntegral)Integral::POSITIVE);
   }

   // method: sin
   //
   TIntegral sin() {
-    return sin(this.value_d);
+    return sin(value_d);
   }

   // method: sin
   //
   TIntegral sin(TIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::sin(arg));
+    return (value_d = (TIntegral)Integral::sin(arg));
   }

   // method: sinh
   //
   TIntegral sinh() {
-    return sinh(this.value_d);
+    return sinh(value_d);
   }

   // method: sinh
   //
   TIntegral sinh(TIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::sinh(arg));
+    return (value_d = (TIntegral)Integral::sinh(arg));
   }

   // method: sqrt
   //
   TIntegral sqrt() {
-    return sqrt(this.value_d);
+    return sqrt(value_d);
   }

   // method: sqrt
   //
   TIntegral sqrt(TIntegral arg) {
-    return (this.value_d = presentValue(Integral::sqrt(arg)));
+    return (value_d = presentValue(Integral::sqrt(arg)));
   }

   // method: square
   //
   TIntegral square() {
-    return (this.value_d * this.value_d);
+    return (value_d * value_d);
   }

   // method: square
   //
   TIntegral square(TIntegral arg) {
-    return (this.value_d = arg * arg);
+    return (value_d = arg * arg);
   }

   // method: tan
   //
   TIntegral tan() {
-    return tan(this.value_d);
+    return tan(value_d);
   }

   // method: tan
   //
   TIntegral tan(TIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::tan(arg));
+    return (value_d = (TIntegral)Integral::tan(arg));
   }

   // method: tanh
   //
   TIntegral tanh() {
-    return tanh(this.value_d);
+    return tanh(value_d);
   }

   // method: tanh
   //
   TIntegral tanh(TIntegral arg) {
-    return (this.value_d = (TIntegral)Integral::tanh(arg));
+    return (value_d = (TIntegral)Integral::tanh(arg));
   }


//---------------------------------------------------------------------------
@@ -1263,12 +1262,12 @@

 template<> double
 MScalar<double, float64>::fraction(double arg) {
-  return (this.value_d = Integral::fraction(arg));
+  return (value_d = Integral::fraction(arg));
 }

 template<> float
 MScalar<float, float32>::fraction(float arg) {
-  return (this.value_d = Integral::fraction(arg));
+  return (value_d = Integral::fraction(arg));
 }

 template<> byte
Only in isip_r00_n11/class/system/Integral: IntegralConfigure.h
diff -ur isip_r00_n11/class/system/Integral/Integral.h
isip_r00_n11.orig/class/system/Integral/Integral.h
--- isip_r00_n11/class/system/Integral/Integral.h   2005-05-13
17:26:41.000000000 +0800
+++ isip_r00_n11.orig/class/system/Integral/Integral.h  2003-05-14
23:35:48.000000000 +0800
@@ -21,7 +21,6 @@
 #include <limits.h>
 #include <math.h>
 #include <unistd.h>
-#include <time.h>

 // possibly include the dmalloc library
 //
@@ -169,14 +168,14 @@
   // define some constants related to geometry and pi
   //
   static const double PI = M_PI;
-  static const double TWO_PI = (2.0*M_PI);
+  static const double TWO_PI = (2.0*PI);
   static const double HALF_PI = (M_PI_2);
   static const double QUARTER_PI = (M_PI_4);
   static const double SQRT_TWO_PI = 2.506628274631;
   static const double INV_PI = M_1_PI;
   static const double TWO_INV_PI = M_2_PI;
   static const double SQRT_TWO = M_SQRT2;
-  static const double INV_SQRT_TWO_PI = (1.0 / 2.506628274631);
+  static const double INV_SQRT_TWO_PI = (1.0 / SQRT_TWO_PI);
   static const double DEGREES_IN_CIRCLE = 360.0;

   // define a iteration count for testing random functions in diagnose method
@@ -196,9 +195,9 @@
   static const double TWO_EXP23 = ((ulong)1 << 23);
   static const double TWO_EXP24 = ((ulong)1 << 24);
   static const double TWO_EXP31 = ((ulong)1 << 31);
-  static const double TWO_EXP32 = (((ulong)1 << 16) * ((ulong)1 << 16));
-  static const double TWO_EXP63 = ((((ulong)1 << 16) * ((ulong)1 << 16)) *
((ulong)1 << 31));
-  static const double TWO_EXP64 = ((((ulong)1 << 16) * ((ulong)1 << 16)) *
(((ulong)1 << 16) * ((ulong)1 << 16)));
+  static const double TWO_EXP32 = (TWO_EXP16 * TWO_EXP16);
+  static const double TWO_EXP63 = (TWO_EXP32 * TWO_EXP31);
+  static const double TWO_EXP64 = (TWO_EXP32 * TWO_EXP32);

   // define constants related to natural logarithms
   //
diff -ur isip_r00_n11/class/system/Random/Random.h
isip_r00_n11.orig/class/system/Random/Random.h
--- isip_r00_n11/class/system/Random/Random.h   2005-05-13 17:36:59.000000000
+0800
+++ isip_r00_n11.orig/class/system/Random/Random.h  2001-04-24
06:57:41.000000000 +0800
@@ -65,7 +65,7 @@
   static const long US_MZ = 0;
   static const long US_MDIM = 56;
   static const long US_CONST = 30;
-  static const double US_FAC = (1.0 / (1000000000));
+  static const double US_FAC = (1.0 / (double)US_MBIG);

   // define default values to scale random numbers
   //
diff -ur isip_r00_n11/class/system/SysComplex/SysComplex.h
isip_r00_n11.orig/class/system/SysComplex/SysComplex.h
--- isip_r00_n11/class/system/SysComplex/SysComplex.h   2005-05-13
17:17:42.000000000 +0800
+++ isip_r00_n11.orig/class/system/SysComplex/SysComplex.h  2002-03-16
07:33:38.000000000 +0800
@@ -7,8 +7,6 @@
 #ifndef ISIP_SYS_COMPLEX
 #define ISIP_SYS_COMPLEX

-#include <cmath>
-using std::sqrt;
 // isip include files -- this file is used by IntegralTypes.h, so it
 // cannot include any other files. this is why it uses bool instead of
 // boolean for a return type.

jjksam (VOIP engineer)
的大作中提到: 】: good, 遇到你说的那个错误了. 就快可以搞定了. 等我好消息.



☆  46  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日20:19:57 星期五


   我以前是2000电子工程专业的

   一个学院出来的:)

2000 com




☆  47  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日20:20:28 星期五


   好,等你的好消息。。。




☆  48  ──────────── 我是分割线 ─────────────────☆
发信人: dreamway (美洲豹), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月13日21:18:42 星期五

哦?
不错,继续顶。



☆  49  ──────────── 我是分割线 ─────────────────☆
发信人: cycker (hello, world), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: 2005年05月14日10:26:07 星期六

你们真有时间啊,去编译gcc.


☆  50  ──────────── 我是分割线 ─────────────────☆
发信人: John (明天会更好), 信区: Linux_Unix
标  题: Re: 谁有RedHat9.0的ISO安装文件
时  间: Sat May 14 10:33:24 2005


   haha~~  I don't have another ways to fix that problem


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店