Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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¼õÈ


Ïà¹ØÎĵµ£º

smtp of java mail

send mail use smtp .u can send text or html, send to many peoples if u have a email user and pwd and the smtp of the email which u use.
package org.lc.smtp;
import java.io.IOException;
import java.util.Properties;
import javax.activation.DataHandler;
import javax.mail.Message;
import javax.mai ......

Ñ¡ÔñjavaºóµÄÄÇЩÊ¡­


Ñ¡ÔñjavaºóµÄÄÇЩÊÂ…
ÕâÁ½ÌìѧУ¿ªÊ¼ÈÃÎÒÃÇÕâÒ»´óÅú¸ß·ÑÉúÑ¡Ôñ×Ô¼ºµÄרҵ·½Ïò£¬FocuserÎÒ¾­¹ýºÃ¼¸¸öÄêÍ·µÄ˼¿¼£¬²¢ÇÒÔÚÎÒÃÇÇ×°®c#ÀÏʦÈÈÇéµÄÏòÎÒÃǽéÉÜ.netµÄÇ°¾°ºó£¬ÒãÈ»¼á¶¨µÄÑ¡ÔñÁËjavaÕâÌõ×Ô¼ºÈÏΪǰ³ÌËƽõµÄµÀ·¡£ÒÔϵÄÕâЩÍøÕ¾ÊÇÎÒƽʱ¾­³£·ÃÎʵÄһЩ¹úÍâµÄÓ¢ÎÄjavaÍøÕ¾£¬½ñÌìÌصصķ¢²¼¸ø´ó¼Ò£¬Ï£ÍûÎÒÃÇÄ ......

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


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