Hello Everyone,
This semester (today) we start with around 550 students enrolled. We'll spend part of the first lecture discussing how the unit will run this year, but first I'll head off some common questions that students are already asking by emai...
Hey Jinyoung
If I remember correctly floats are 4 bytes and doubles are 8 bytes (hence the name double) but Chris may need to clarify.
An integer value must be at least 2 bytes (or 16 bits) but it is usually 4 bytes (32 bits). It's a bit confusing ...
According to the slide 2, page 4 in Variables, the page says that "A typical C program will use 4 bytes to hold a single integer value, or 8 bytes to hold a single floating-point value."
It this correct?
Integer value has 2 or 4 bytes and a single floa...
In today's lecture we saw why real-valued (floating-point) numbers are used very rarely, if at all, in systems programming and operating systems kernels.
Here's an article describing the problem,
Stop Using Floating-Point Numbers to Store Money
http...
Harry R. Lewis has been a Harvard CS professor, and thinks there's a lesson for today from a time when "Computers were experienced as physical things"
Mechanical Intelligence and Counterfeit Humanity
https www.harvardmagazine.com 2024 07 harry-l...