Computer arithmetic

Binary integer decimal

The IEEE 754-2008 standard includes decimal floating-point number formats in which the significand and the exponent (and the payloads of NaNs) can be encoded in two ways, referred to as binary encoding and decimal encoding. Both formats break a number down into a sign bit s, an exponent q (between qmin and qmax), and a p-digit significand c (between 0 and 10p−1). The value encoded is (−1)s×10q×c. In both formats the range of possible values is identical, but they differ in how the significand c is represented. In the decimal encoding, it is encoded as a series of p decimal digits (using the densely packed decimal (DPD) encoding). This makes conversion to decimal form efficient, but requires a specialized decimal ALU to process. In the binary integer decimal (BID) encoding, it is encoded as a binary number. (Wikipedia).

Video thumbnail

Binary 3 – Fixed Point Binary Fractions

This is the third in a series of videos about the binary number system which is fundamental to the operation of a digital electronic computer. It covers the representation of real numbers in binary using a fixed size, fixed point, register. It explains with examples how to convert both po

From playlist Binary

Video thumbnail

Binary 4 – Floating Point Binary Fractions 1

This is the fourth in a series of videos about the binary number system which is fundamental to the operation of a digital electronic computer. In particular, this video covers the representation of real numbers using floating point binary notation. It begins with a description of standard

From playlist Binary

Video thumbnail

Binary 1 - Converting to and from Denary

This is the first in a series of computer science videos about the binary number system which is fundamental to the operation of a digital electronic computer. It covers the need for binary and details of how to convert positive whole numbers in base 10 into 8 bit binary, and vice versa.

From playlist GCSE Computer Science

Video thumbnail

Math Basics: Decimals

In this video, you’ll learn more about decimals. Visit https://www.gcflearnfree.org/decimals/ for our interactive text-based tutorial. This video includes information on: • Reading decimals • Comparing decimals We hope you enjoy!

From playlist Math Basics

Video thumbnail

How To Add and Subtract Binary Numbers

This video explains how to add and subtract binary numbers. The full version of this video contains extra examples of subtracting, multiplying, and dividing binary numbers. Full 43 Minute Video: https://www.youtube.com/watch?v=eAdWDu3s8xM

From playlist Number Systems

Video thumbnail

Multiplying Decimals

This video is about Multiplying Decimals

From playlist Fractions and Decimals

Video thumbnail

How to use decimal points

👉 Learn all about decimals. Decimals are numbers written with a decimal point. Digits can be written to the right or to the left of the decimal point. Digits are written to the left of the decimal point increase in value by multiples of 10 while digits written to the right decrease by mul

From playlist Decimals | Learn About

Video thumbnail

Binary 2 - Two's Complement Representation of Negative Numbers

This is the second in a series of computer science videos about the binary number system which is fundamental to the operation of a digital electronic computer. It covers the two's complement system of representing positive and negative integers in binary. It demonstrates how two's comple

From playlist Binary

Video thumbnail

Visualizing decimal numbers and their arithmetic 67 | Arithmetic and Geometry Math Foundations

This video gives a precise definition of a decimal number as a special kind of rational number; one for which there is an expression a/b where a and b are integers, with b a power of ten. For such a number we can extend the Hindu-Arabic notation for integers by introducing the decimal form

From playlist Math Foundations

Video thumbnail

ch1 2: Representation of numbers in different bases. Wen Shen

Wen Shen, Penn State University. Lectures are based on my book: "An Introduction to Numerical Computation", published by World Scientific, 2016. See promo video: https://youtu.be/MgS33HcgA_I

From playlist CMPSC/MATH 451 Videos. Wen Shen, Penn State University

Video thumbnail

Numbers as bits (2 of 2)

How we represent numbers in computers. Part of a larger series teaching programming. Visit codeschool.org Twitter: @brianwill

From playlist Numbers as bits

Video thumbnail

Back To Basics! Fixed Point Numbers in C++

In this video I look at a simple Fixed Point Number implementation in C++. I use constexpr to let the IDE run the code without even compiling anything! The final result is a small template class that permits arbitrary precision fixed point calculations. Patreon: https://www.patreon.com/ja

From playlist Interesting Programming

Video thumbnail

RubyConf 2022: 1.5 is the Midpoint Between 0 and Infinity by Peter Zhu

What’s the midpoint between 0 and infinity? Well, the answer differs depending on whether you are asking a mathematician, philosopher, or a Ruby developer. I’m not a mathematician or a philosopher, but I am a Ruby developer, so I can tell you that 1.5 is the midpoint between 0 and infinity

From playlist RubyConf 2022: Mini and Houston

Video thumbnail

ELEC2141 Digital Circuit Design - Lecture 3

ELEC2141 Week 1 Lecture 3: Number Systems

From playlist ELEC2141 Digital Circuit Design

Video thumbnail

CTNT 2022 - Wieferich Primes (by Keith Conrad)

This video is one of the special guess talks or conference talks that took place during CTNT 2022, the Connecticut Summer School and Conference in Number Theory. Note: not every special guest lecture or conference lecture was recorded. More about CTNT: https://ctnt-summer.math.uconn.edu/

From playlist CTNT 2022 - Conference lectures and special guest lectures

Video thumbnail

Python How to Program Pt 2

Best Python Book : http://goo.gl/Q6dep6 Python How to use variables, integers, floats, decimals, math functions, print format, variable conversions, etc. You watch as I write the code for an easy way to learn python. All of the code is here All the code is here http://bit.ly/aOuRqU

From playlist Python Tutorial

Video thumbnail

Discrete Math - 4.2.1 Decimal Expansions from Binary, Octal and Hexadecimal

Converting integers from binary, octal and hexadecimal representations to decimal expansions. Textbook: Rosen, Discrete Mathematics and Its Applications, 7e Playlist: https://www.youtube.com/playlist?list=PLl-gb0E4MII28GykmtuBXNUNoej-vY5Rz

From playlist Discrete Math I (Entire Course)

Video thumbnail

1.11.4 Cantor's Theorem: Video

MIT 6.042J Mathematics for Computer Science, Spring 2015 View the complete course: http://ocw.mit.edu/6-042JS15 Instructor: Albert R. Meyer License: Creative Commons BY-NC-SA More information at http://ocw.mit.edu/terms More courses at http://ocw.mit.edu

From playlist MIT 6.042J Mathematics for Computer Science, Spring 2015

Video thumbnail

Numerical data explained | Introducing digits, range and precision for programming beginners

Numerical data is one of the two types of data inside every computer program, and we use numerical data to represent the outside world. Let's take a detailed look at numerical data inside computer programs. 1) Numerical data inside computer programs: Integers and decimals 2) How numbers r

From playlist Data Science - Learn to code for beginners

Video thumbnail

1. Unsigned Binary Numbers - How to Convert From Unsigned Binary Numbers to Whole Numbers

This tutorial shows how to convert from an unsigned binary number to a whole number. Join this channel to get access to perks: https://www.youtube.com/channel/UCn2SbZWi4yTkmPUj5wnbfoA/join :)

From playlist Binary Numbers

Related pages

Arithmetic logic unit | IEEE 754 | NaN | Significand | IEEE 754-2008 | Densely packed decimal | Binary-coded decimal