Shared info of IoT & Cloud, Banking, Angular Wicket, Spring Microservices, BigData, flutter, E-comm, Java Telecomm and More

Showing posts with label Computer Science. Show all posts
Showing posts with label Computer Science. Show all posts

Thursday, November 4, 2010

Java Primitive Data Types - Reals - IEEE754

Java uses IEEE (Institute of Electronics and Electrical Engineers) Standard 754 to store real numbers. While knowledge of the standard may no longer be crucial for programmers due to abstraction of this detail it is placed here for completeness and as a reference in case the need arises to parse raw data and the result is not as expected. IEEE 754 Applet.
IEEE 754:The IEEE 754 Standard uses 1-plus form of the binary normalized fraction (rounded). The fraction part is called the mantissa.
1-plus normalized scientific notation base two is then
N = ± (1.b1b2b3b4 ...)2 x 2+E
The 1 is understood to be there and is not recorded. 
The Java primitive data type float is 4 bytes, or 32 bits:
1 bit Sign
8 bit exponent
23 bit mantissa
While the double is 8 bytes, or 64 bits, formatted as follows:

Cơ sở kỹ thuật truyền số liệu


Chương 1: khái niệm chung

Thông tin(tin): Information
là sự cảm hiểu của con người về thế giới xung quanh. Thông tin có 2 mặt: ngữ nghĩa chung và độ lớn thông tin.

Dữ liệu: data
là 1 quá trình vật lý mang thông tin, là kết quả phép vật chất hóa thông tin, gồm
    1. nội dung ngữ nghĩa thông tin chứa trong nó
    2. độ lớn thông tin có trong dữ liệu này
    3. hình thức - nội dung là thể hiện cụ thể của dữ liệu ví dụ dữ liệu mã hóa, dữ liệu ở dạng dòng điện truyền đi trong dây dẫn..

Tín hiệu: signal
    là một quá trình vật lý mang thông tin, phù hợp với môi trường lan truyền (điểm khác data). Tín hiệu có mục tiêu là làm sao để có môi trường lan truyền thông tin tốt nhất. Ví dụ tín hiệu sóng radio, tín hiệu điện..

Popular Posts

Blog Archive