亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

double-clad

  • 自己用C編寫的小游戲

    自己用C編寫的小游戲,DOS界面哦,可以運行。 浮點數基本運算 浮點數的基本運算主要有四則運算、符號處理、大小比較,以及浮點數分柝等。 包含頭文件 "fn.hpp" #include "fn.hpp" 浮點數基本運算 浮點數的基本運算中有加、減、乘、除、取負、絕對值、相等比較等。 加減乘除 加、減、乘、除四個運算極為相似,都是需要兩個參數,結果當然也是浮點數了。 例子: // 加 減 乘 除 btil::fn::plus<f1, f2>::value // f1+f2 的結果 btil::fn::minus<f1, f2>::value // f1-f2 的結果 btil::fn::multiplies<f1, f2>::value // f1*f2 的結果 btil::fn::divides<f1, f2>::value // f1/f2 的結果 plus<f1, f2>::value::f_val // f1+f2 的結果的值 struct one { static const double f_val = 1.0 } // 兩個浮點數 struct two { static const double f_val = 2.0 } minus<two, plus<divides<one, two>::value, one>::value >::value::f_val == 0.5 取負 取負運算就是取一個浮點數的負數。

    標簽: 編寫 小游戲

    上傳時間: 2014-12-06

    上傳用戶:jichenxi0730

  • CBC下寫的串口編程

    CBC下寫的串口編程,API函數實例 I wish this site had been around when I was trying to figure out how to make serial communications work in Windows95. I, like many programmers, was hit with the double-whammy of having to learn Windows programming and Win95 serial comm programming at the same time. I found both tasks confusing at best. It was particularly frustrating because I had, over the years, written so much stuff (including lots of serial comm software) for the DOS environment and numerous embedded applications. Interrupt driven serial comm, DMA transfer serial comm, TSR serial comm, C, assembler, various processors... you name it, it had written it. Yet, everything I knew seemed upside-down in the message-driven-callback world of Windows.

    標簽: CBC 串口編程

    上傳時間: 2014-06-20

    上傳用戶:cccole0605

  • The Audio File Library provides a uniform programming interface to standard digital audio file form

    The Audio File Library provides a uniform programming interface to standard digital audio file formats. This library allows the processing of audio data to and from audio files of many common formats (currently AIFF, AIFF-C, WAVE, NeXT/Sun .snd/.au, IRCAM, AVR, Amiga IFF/8SVX, and NIST SPHERE). The library also supports compression (currently G.711 mu-law and A-law and IMA and MS ADPCM) as well as PCM formats of all flavors (signed and unsigned integer, single- and double-precision floating point).

    標簽: programming interface provides standard

    上傳時間: 2014-12-06

    上傳用戶:a6697238

  • 最小二乘法曲線擬合 作者:佚名 文章來源:不詳 點擊數:164 更新時間:2006-1-4 【字體:小 大】【發表評論】【加入收藏】【告訴好友】【打印此文】【關閉窗口

    最小二乘法曲線擬合 作者:佚名 文章來源:不詳 點擊數:164 更新時間:2006-1-4 【字體:小 大】【發表評論】【加入收藏】【告訴好友】【打印此文】【關閉窗口】 //最小二乘法曲線擬合 typedef CArray<double,double>CDoubleArray BOOL CalculateCurveParameter(CDoubleArray *X,CDoubleArray *Y,long M,long N,CDoubleArray *A) { //X,Y -- X,Y兩軸的坐標 //M -- 結果變量組數 //N -- 采樣數目 //A -- 結果參數   文章錄入:admin 責任編輯:admin  

    標簽: 2006 164 最小二乘法 曲線擬合

    上傳時間: 2014-01-24

    上傳用戶:liansi

  • 人民幣大寫金額轉換程序(修正版v0.0.3) =================================== 1.使用方法: ------------- 將Cash_RMB.dcu

    人民幣大寫金額轉換程序(修正版v0.0.3) =================================== 1.使用方法: ------------- 將Cash_RMB.dcu放入Delphi安裝目錄下的Lib中,在uses中加入Cash_RMB, 即可引用CashRMB方法. function CashRMB(CashAmount: Double): String 如: procedure TForm1.Button1Click(Sender: TObject) begin QRLabel1.Caption := CashRMB(Table1.FieldByName( 金額 ).AsFloat) end 結果將傳回人民幣金額大寫字符串. 如果 CashAmount = 0 或數值溢出(超出萬億位),結果返回空串. 2.說明: -------- A.本轉換程序最大程度只支持到萬億元(位)的金額數值轉換操作.如果你的 轉換數值超出此極限,你可以在調用前先行判斷數據的合法性,如果沒有作預 先判斷,轉換過程中將引發本單元中自帶的錯誤處理例程. b.該轉換結果符合標準金額大寫書寫格式,零角零分等字樣不存在于最終的 轉換結果中. c.本轉換程序自帶數據溢出等數據非法及轉換錯誤等處理例程. d.本程序適用于32位的Delphi版本.

    標簽: Cash_RMB dcu 轉換 程序

    上傳時間: 2013-12-31

    上傳用戶:hebmuljb

  • This demo develops the steady-state characteristics of an induction motor First start the simulation

    This demo develops the steady-state characteristics of an induction motor First start the simulation, then Double click the <PLOTS> block to view torque-speed and current-speed curves and the current circle diagram

    標簽: characteristics steady-state simulation the

    上傳時間: 2013-11-29

    上傳用戶:daguda

  • 暫時只支持jpeg2000支持的 cdf97 和spline53 可以這樣來測試: x=imread( E:studyjpeg2000imageslena.tif ) % see the de

    暫時只支持jpeg2000支持的 cdf97 和spline53 可以這樣來測試: x=imread( E:\study\jpeg2000\images\lena.tif ) % see the decomposition coefficients y=wavelift(x, 1, spl53 ) using spline 5/3 wavelet figure subplot(1,2,1) imshow(x) subplot(1,2,2) imshow(mat2gray(y)) % see the reconstruction precision yy=wavelift(x, 5) using cdf 9/7 wavelet ix=wavelift(yy,-5) inverse sum(sum((double(x)-ix).^2))

    標簽: 2000 imageslena studyjpeg imread

    上傳時間: 2014-01-14

    上傳用戶:懶龍1988

  • 剖析Intel IA32 架構下C 語言及CPU 浮點數機制 Version 0.01 哈爾濱工業大學 謝煜波 (email: xieyubo@126.com 網址:http://purec.b

    剖析Intel IA32 架構下C 語言及CPU 浮點數機制 Version 0.01 哈爾濱工業大學 謝煜波 (email: xieyubo@126.com 網址:http://purec.binghua.com) (QQ:13916830 哈工大紫丁香BBSID:iamxiaohan) 前言 這兩天翻看一本C 語言書的時候,發現上面有一段這樣寫到 例:將同一實型數分別賦值給單精度實型和雙精度實型,然后打印輸出。 #include <stdio.h> main() { float a double b a = 123456.789e4 b = 123456.789e4 printf(“%f\n%f\n”,a,b) } 運行結果如下:

    標簽: Version xieyubo Intel email

    上傳時間: 2013-12-25

    上傳用戶:徐孺

  • Please place this entire folder (complete with contents) into your System32 directory folder D

    Please place this entire folder (complete with contents) into your System32 directory folder Double click on the Register .bat file to Register Double click on the UnRegister .bat file to UnRegister It s as simple as that! Cheers

    標簽: folder directory complete contents

    上傳時間: 2013-12-23

    上傳用戶:jyycc

  • 函數模板T max(T a, T b, T c),使之實現對任何類型數

    函數模板T max(T a, T b, T c),使之實現對任何類型數,能從三個數中求出最大數返回。設計各種類型數據(char,short,long,float,double)調用此函數模板。

    標簽: max 函數 模板

    上傳時間: 2015-07-07

    上傳用戶:時代電子小智

主站蜘蛛池模板: 马公市| 吴江市| 临城县| 金华市| 惠安县| 曲沃县| 邵阳县| 京山县| 福清市| 宁津县| 张北县| 临猗县| 凤台县| 安达市| 太康县| 广南县| 台北市| 措美县| 镶黄旗| 陵川县| 昭苏县| 深圳市| 慈利县| 阿荣旗| 永川市| 上饶县| 思茅市| 镶黄旗| 喜德县| 新干县| 沅江市| 枣阳市| 奉新县| 上犹县| 阿拉尔市| 玛多县| 旬邑县| 桐乡市| 双鸭山市| 大姚县| 旬邑县|