音影先锋亚洲天堂网|电影世界尽头的爱完整版播放|国产 熟女 91|高清无码免费观看欧美日韩|韩国一区二区三区黄色录像|美女亚洲加勒比在线|亚洲综合网 开心五月|7x成人在线入口|成人网站免费日韩毛片区|国产黄片?一级?二级?三级

登錄 免費(fèi)注冊(cè) 首頁(yè) | 行業(yè)黑名單 | 幫助
維庫(kù)電子市場(chǎng)網(wǎng)
技術(shù)交流 | 電路欣賞 | 工控天地 | 數(shù)字廣電 | 通信技術(shù) | 電源技術(shù) | 測(cè)控之家 | EMC技術(shù) | ARM技術(shù) | EDA技術(shù) | PCB技術(shù) | 嵌入式系統(tǒng)
驅(qū)動(dòng)編程 | 集成電路 | 器件替換 | 模擬技術(shù) | 新手園地 | 單 片 機(jī) | DSP技術(shù) | MCU技術(shù) | IC 設(shè)計(jì) | IC 產(chǎn)業(yè) | CAN-bus/DeviceNe

大家用keil的

作者:王紫豪 欄目:ARM技術(shù)
大家用keil的
都是選擇哪種編譯器? 用realview,keil的carm 還是 gnu ? 本來(lái)很想用CARM,結(jié)果不支持 double,哎!

2樓: >>參與討論
王紫豪
還好有LONG LONG
 
3樓: >>參與討論
lpcfans
float 呢?
 
4樓: >>參與討論
computer00
我覺(jué)得奇怪,幫助文檔里面明明寫了支持double,
但我試了試,好象double跟float一樣??難道哪里有參數(shù)可以設(shè)置么???

Data Storage Formats


The CARM C Compiler offers a NUMBER of basic data types to use in your C programs. The following table lists these data types along with their size requirements and VALUE ranges.
Data TypeBitsBytesAlignmentValue Range
324432-bit Address

Note
  1. Signed types are stored in two's complement.
  2. The enum type is stored using the shortest signed or unsigned integer type required to contain its VALUE.

Other data types, like structures and unions, may contain scalars from this table.
COPYRIGHT (c) Keil SOFTWARE, Inc. and Keil Elektronik GmbH. All rights reserved.

* - 本貼最后修改時(shí)間:2006-7-23 9:08:31 修改者:computer00

5樓: >>參與討論
云中月8888
選realview比較好!
 
6樓: >>參與討論
kl818bc
float 和 double 差很多啊
float   24bit + 8bit = 32bit

double  48bit + 16bit = 64bit

* - 本貼最后修改時(shí)間:2006-7-23 9:04:12 修改者:kl818bc

7樓: >>參與討論
王紫豪
圈圈幫我找找,怎么才能讓CARM支持double
好像要一個(gè)caldp.LIB 現(xiàn)在的是calfp.LIB

8樓: >>參與討論
王紫豪
在keil web上找到這個(gè),嗚嗚!
CARM: CALDP.LIB NOT FOUND

--------------------------------------------------------------------------------

Information in this SUPPORT solution applies to:

CARM All Versions

--------------------------------------------------------------------------------

QUESTION
My project is using double-precision floating arithmetic. When linking my program, the linker does not find CALDP.LIB. This library cannot be found in \LIB folder. Can you please provide it?

ANSWER
The CARM compiler toolchain does not SUPPORT the double-precision (64-bit) floating point data type.

SOLUTION
In MDK-ARM, double-precision floating point SUPPORT is provided by using the RealView Compiler.

MORE INFORMATION
REFER to Selecting the Toolset in the µVision User's Guide.





9樓: >>參與討論
computer00
暈菜了……既然CARM中沒(méi)有double,怎么跟幫助里不一樣呢。
看來(lái)只好用realView了。

10樓: >>參與討論
hotpower
暈菜~~~早該用realView了~~~看你再美~~~
 
11樓: >>參與討論
computer00
暈~~~~~~hotpower大叔這會(huì)在旁邊幸災(zāi)樂(lè)禍了…………
RealView好象沒(méi)搞__at這一套?

12樓: >>參與討論
hotpower
RV就是沒(méi)at,其他都不暈~~~
 
13樓: >>參與討論
王紫豪
比較喜歡 __at 哈哈
 
14樓: >>參與討論
shockwave
Keil 的C就是不支持double
我以前實(shí)驗(yàn)過(guò),只支持float而已。要想可靠點(diǎn)還是選RV算了。

參與討論
昵稱:
討論內(nèi)容:
 
 
相關(guān)帖子
ucos程序中可以使用周公的簡(jiǎn)易ADS仿真器嗎?
請(qǐng)教周工LPC213x上冊(cè)P338頁(yè)上端程序問(wèn)題。。。
請(qǐng)教高手PDIUSBD12的中斷問(wèn)題,搞得我要瘋了。!
關(guān)于 PINSEL2 寄存器的設(shè)置問(wèn)題
請(qǐng)問(wèn)如何通過(guò)IAP將程序下載到外部的FLASH中?
免費(fèi)注冊(cè)為維庫(kù)電子開(kāi)發(fā)網(wǎng)會(huì)員,參與電子工程師社區(qū)討論,點(diǎn)此進(jìn)入


Copyright © 1998-2006 m.58mhw.cn 浙ICP證030469號(hào)