- ©«¤l
- 97
- ¥DÃD
- 32
- ºëµØ
- 0
- ¿n¤À
- 167
- ÂI¦W
- 0
- §@·~¨t²Î
- WinXP
- ³nÅ骩¥»
- Office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-3-22
- ³Ì«áµn¿ý
- 2017-8-16
|
¦hÁ¤j¤j¡AÅý§Ú¹ï³o¤è±¦³·sªº¨£¸Ñ
§Ú¦³¸Õ¥t¥~¤@Ó¤èªk¥i¥H´î¤Öcode size
µ{¦¡¼gªk¤j·§¹³¤U±³o¼Ë¡G§Q¥Î2^X ¨Ó§PÂ_
If Mid(Cells(4, 10), 1, 1) = "U" Then
Select Case Mid(Cells(4, 10), 2, 1)
Case Is = 1
bit = 8
Case Is = 2
bit = 16
Case Is = 3
bit = 24
Case Is = 4
bit = 32
End Select
max1 = 2 ^ bit - 1
min1 = 0
Cells(4, 17).Value = min1 & "~" & max1
If Cells(4, 15) > min1 Then
min1 = Cells(4, 15)
End If
If Cells(4, 16) < max1 Then
max1 = Cells(4, 16)
End If
Cells(4, 18).Value = min1 & "~" & max1
ElseIf Mid(Cells(4, 10), 1, 1) = "S" Then
Select Case Mid(Cells(4, 10), 2, 1)
Case Is = 1
bit = 7
Case Is = 2
bit = 15
Case Is = 3
bit = 23
Case Is = 4
bit = 31
End Select
max1 = 2 ^ bit - 1
min1 = 1 - 2 ^ bit
Cells(4, 17).Value = min1 & "~" & max1
If Cells(4, 15) > min1 Then
min1 = Cells(4, 15)
End If
If Cells(4, 16) < max1 Then
max1 = Cells(4, 16)
End If
Cells(4, 18).Value = min1 & "~" & max1
End If
Next |
|