Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¹ØÓÚJavaÖеÄIEEE765¸¡µãÊý±íʾ·¨

ÁèÓî ÔÚwww.360doc.comÖÐתÌû¡¾IEEE¸¡µãÊý±íʾ·¨¡¿£¬¾­¹ý×ÐϸÑо¿£¬ÖÕÓÚÓеãÐĵÃÁË¡£
floatתʮÁù½øÖÆ£º
16½øÖƸ¡µãÊýµÄ±íʾ·½·¨£¬¸ù¾ÝIEEEµÄ±ê×¼£¬·ÖΪ32λºÍ64λÁ½ÖÖ£¬²ÎÊý·Ö±ðÈçÏ£º
 
 
·ûºÅλ
Ö¸Êýλ
Ö¸ÊýÆ«ÒÆÁ¿
βÊýλ
32λ
1[31]
8[23-30]
23[0-22]
127
64λ
1[63]
11[52-62]
52[0-51]
1023
float
¹²¼Æ32룬ÕÛºÏ4×Ö½Ú
ÓÉ×î¸ßµ½×îµÍλ·Ö±ðÊǵÚ31¡¢30¡¢29¡¢……¡¢0λ
31λÊÇ·ûºÅ룬1±íʾ¸ÃÊýΪ¸º£¬0·´Ö®¡£
30-23룬һ¹²8λÊÇÖ¸Êýλ¡£
22-0룬һ¹²23λÊÇβÊýλ¡£
ÏÖÔÚÈÃÎÒÃÇ°´ÕÕIEEE¸¡µãÊý±íʾ·¨£¬Ò»²½²½µÄ½«floatÐ͸¡µãÊý123456.0fת»»ÎªÊ®Áù½øÖÆ´úÂë¡£
ÔÚ´¦ÀíÕâÖÖ²»´øСÊýµÄ¸¡µãÊýʱ£¬Ö±½Ó½«ÕûÊý²¿×ª»¯Îª¶þ½øÖƱíʾ£º1
11100010
01000000¡£
Ò²¿ÉÒÔÕâÑù±íʾ£º11110001001000000.0¡£
È»ºó½«Ð¡ÊýµãÏò×óÒÆ£¬Ò»Ö±ÒƵ½Àë×î¸ßλֻÓÐ1룬¾ÍÊÇ×î¸ßλµÄ1£º1.11100010010000000¡£
Ò»¹²Òƶ¯ÁË16룬ÔÚ²¼¶úÔËËãÖÐСÊýµãÿÏò×óÒÆһλ¾ÍµÈÓÚÔÚÒÔ2Ϊµ×µÄ¿Æѧ¼ÆËã·¨±íʾÖÐÖ¸Êý+1£¬ËùÒÔÔ­Êý¾ÍµÈÓÚÕâÑù£º1.11100010010000000
* ( 2 ^ 16
)¡£
ºÃÁË£¬ÏÖÔÚÎÒÃÇÒªµÄβÊýºÍÖ¸Êý¶¼³öÀ´ÁË¡£ÏÔ¶øÒ×¼û£¬×î¸ßλÓÀÔ¶ÊÇ1£¬ÒòΪÄã²»¿ÉÄÜ°ÑÂòÁË16¸ö¼¦µ°Ëµ³ÉÊÇÂòÁË0016¸ö¼¦µ°°É£¿ËùÒÔÕâ¸ö1ÎÒÃÇ»¹ÓбØÒª±£ÁôËûÂ𣿺õģ¬ÎÒÃÇɾµôËû¡£
ÕâÑùβÊýµÄ¶þ½øÖƾͱä³ÉÁË£º11100010010000000×îºóÔÚβÊýµÄºóÃæ²¹0£¬Ò»Ö±µ½²¹¹»23λ£º11100010010000000000000¡£
ÔÙ»ØÀ´¿´Ö¸Êý£¬Ò»¹²8룬¿ÉÒÔ±íʾ·¶Î§ÊÇ0 - 255µÄÎÞ·ûºÅÕûÊý£¬Ò²¿ÉÒÔ±íʾ-128 -
127µÄÓзûºÅÕûÊý¡£
µ«ÒòΪָÊýÊÇ¿ÉÒÔΪ¸ºµÄ£¬ËùÒÔΪÁËͳһ°ÑÊ®½øÖƵÄÕûÊý»¯Îª¶þ½øÖÆʱ£¬¶¼ÏȼÓÉÏ127£¬ÔÚÕâÀÎÒÃǵÄ16¼ÓÉÏ127ºó¾Í±ä³ÉÁË143£¬¶þ½øÖƱíʾΪ£º10001111¡£
12345.0fÕâ¸öÊýÊÇÕýµÄ£¬ËùÒÔ·ûºÅλÊÇ0£¬ÄÇôÎÒÃÇ°´ÕÕÇ°Ãæ½²µÄ¸ñʽ°ÑËüÆ´ÆðÀ´£º
0
10001111 11100010010000000000000
01000111 11110001 00100000
00000000
ÔÙת»¯Îª16½øÖÆΪ£º47 F1 20 00£¬×îºó°ÑËü·­¹ýÀ´£¬¾Í³ÉÁË£º00 20 F1 47¡£
==========================================================
°´ÕÕIEEE¸¡µãÊý±íʾ·¨£¬½«floatÐ͸¡µãÊý123.456fת»»ÎªÊ®Áù½øÖÆ´úÂë¡£
ÕûÊý²¿Ö±½Ó»¯¶þ½øÖÆ£º100100011¡£
СÊý²¿µÄ´¦Àí±È½ÏÂ鷳һЩ¡£
À´¿´Ò»Ï²½Ö裺1 / 2
^1λ£¨ÎªÁË·½±ã£¬ÏÂÃæ½öÓÃ2µÄÖ¸ÊýÀ´±íʾ룩£¬
µÚ1λ£º0.456СÓÚλ½×Öµ0.5¹ÊΪ0£»
2룬0.456´óÓÚλ½×Öµ0.25£¬¸ÃλΪ1£¬²¢½«0.45¼õÈ


Ïà¹ØÎĵµ£º

java´ò¿ª±¾µØÎļþ

 try {
   Runtime.getRuntime().exec("C:\\xxx.exe");
  } catch (IOException e) {
   // TODO Auto-generated catch block
   e.printStackTrace();
  } ......

JAVA finally×Ö¾äµÄÒì³£¶ªÊ§ºÍ·µ»ØÖµ¸²¸Ç½âÎö

JAVA finally×Ö¾äµÄÒì³£¶ªÊ§ºÍ·µ»ØÖµ¸²¸Ç½âÎö
JavaÐéÄâ»úÔÚÿ¸ötryÓï¾ä¿éºÍÓëÆäÏà¹ØµÄcatch×Ó¾äµÄ½áβ
´¦¶¼»á“µ÷ÓÔfinally×Ó¾äµÄ×ÓÀý³Ì¡£Êµ¼ÊÉÏ£¬finally×Ó¾äÔÚ·½·¨ÄÚ²¿µÄ±íÏÖºÜÏó“΢ÐÍ×ÓÀý³Ì”¡£finally×Ó¾äÕý³£½áÊøºó£­Ö¸µÄÊÇfinally×Ó¾äÖÐ×îºóÒ»ÌõÓï¾äÕý³£Ö´ÐÐÍê±Ï£¬²»°üÀ¨Å׳öÒì³££¬»òÖ´ÐÐre ......

Java¶àÏ̱߳à³Ì×ܽá


 
ÏÂÃæÊÇJavaÏß³ÌϵÁв©ÎĵÄÒ»¸ö±àÄ¿£º
 
JavaỊ̈߳º¸ÅÄîÓëÔ­Àí
JavaỊ̈߳º´´½¨ÓëÆô¶¯
JavaỊ̈߳ºÏß³ÌջģÐÍÓëÏ̵߳ıäÁ¿
JavaỊ̈߳ºÏß³Ì״̬µÄת»» 
JavaỊ̈߳ºÏ̵߳Äͬ²½ÓëËø
JavaỊ̈߳ºÏ̵߳Ľ»»¥
JavaỊ̈߳ºÏ̵߳ĵ÷¶È-ÐÝÃß 
JavaỊ̈߳ºÏ̵߳ĵ÷¶È-ÓÅÏȼ¶
JavaỊ̈߳ºÏ̵߳ĵ÷¶È-Èò½ ......

thinking in javaµÚÎåÕÂ1 ³õʼ»¯ÓëÇåÀí


µÚһ֪ʶµã£º¹¹ÔìÆ÷£¬¹¹ÔìÆ÷ºÍÀàÃûÒ»Ö£¬ÎÞ·µ»ØÖµ£¬ÔÚjavaÖГ³õʼ»¯”Óë“´´½¨”ÊÇÁ¬ÔÚÒ»ÆðµÄ£¬ËùÒÔÎÒÃǾ­³£Óù¹ÔìÆ÷ÔÚ´´½¨¶ÔÏóµÄʱºòÀ´³õʼ»¯ÀàµÄһЩʵÀý¡£ÌØÊâ˵Ã÷£ºnew±í´ïʽ·µ»ØÁ˶Ôн¨¶ÔÏóµÄÒýÓ㬵«Êǹ¹ÔìÆ÷±¾ÉíûÓзµ»ØÈκÎÖµ¡£
µÚ¶þ¸ö֪ʶµã£º·½·¨µÄÖØÔØ£¬Ãû³ÆÏàͬ£¬²ÎÊý²»Í¬µÄ·½·¨½Ð×ö· ......

·ÃÎÊÔ¶³ÌJava¶ÔÏó remoteObject

19.2 ·ÃÎÊÔ¶³ÌJava¶ÔÏóΪÁËʵÏÖ¶ÔÔ¶³ÌJava¶ÔÏóµÄ·ÃÎÊ£¬ÔÚ·þÎñÆ÷¶Ë£¬ÐèÒªÍê³ÉÈçϼ¸¸ö²½Ö裺 1. ´´½¨LiveCycle Data Service WebÓ¦Óã» 2. ʵÏÖPOJO JavaÀࣻ 3. ÔÚLiveCycle Data Service WebÓ¦ÓÃÖв¿ÊðPOJO JavaÀࣻ 4. ÅäÖÃremote-config.xmlÎļþ£¬ÉùÃ÷desination½Úµã£¬Ö¸ÏòPOJO JavaÀà¡£ ÔÚ¿Í»§¶ËÓ¦ÓÃÖУ¬ÐèҪʵÏÖ£º 1. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ