jSearch - turns search Engines into FIND engines - Programming in JAVA
Copyright (C) 1999-2009 Hunt Lin
This program is free software you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation either version 2 of the License, or(at your option) any later version.
This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.
You should have received a copy of the GNU General Public Licensealong with this program if not, write to the Free SoftwareFoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also Add information on how to contact you by electronic and paper mail.
標簽:
Programming
Copyright
jSearch
Engines
上傳時間:
2017-02-10
上傳用戶:qoovoop
cordic methods describe essentially the same algorithm that with suitably chosen inputs can be used to calculate a whole range of scientific functions including sin, cos, tan, arctan, arcsin, arccos, sinh, cosh, tanh, arctanh, log, exp, square root and even multiply and divide.
the method dates back to volder [1959], and due to its versatility and compactness, it made possible the microcoding of the hp35 pocket scientific calculator in 1972.
here is some code to illustrate the techniques. ive split the methods into three parts linear, circular and hyperbolic. in the hp35 microcode these would be unified into one function (for space reasons). because the linear mode can perform multiply and divide, you only need Add/subtract and shift to complete the implementation.
you can select in the code whether to do the multiples and divides also by cordic means. other multiplies and divides are all powers of 2 (these dont count). to eliminate these too, would involve ieee hackery.
標簽:
essentially
algorithm
describe
suitably
上傳時間:
2017-03-02
上傳用戶:litianchu
MIPS 仿真器,能夠實現匯編,反匯編和模擬運行。自己開發的,java課的大程,可能問題比較多,僅做參考,而且程序架構也設計地不是很好。但作為新手大程學習和簡單的MIPS模擬還是沒有問題的。
本 MIPS 模擬器支持的指令如下:
Add,Addi,sub,subi,and,andi,or,ori,nor,beq,bne,j,jr,jal,lw,lh,lb,sw,sh,sb, 其中所有的跳
轉指令第三個操作數只能為一個行標簽[不支持相對地址以及絕對地址],標簽可
以寫在一行開頭,以冒號結尾。
標簽:
MIPS
仿真器
上傳時間:
2014-01-04
上傳用戶:ruixue198909