Post Reply 
Any Binary Calculators
11-21-2019, 06:23 PM
Post: #10
RE: Any Binary Calculators
(11-21-2019 05:52 PM)burkhard Wrote:  Yeah, generally when people work in binary (or hex or octal for that matter) they are doing integer math which is the "native" way many computers and microprocessors handle numbers.

Except that computers and microprocessors handle floating point numbers as binary floating point numbers. Even numbers less than one.

(11-21-2019 05:52 PM)burkhard Wrote:  It's clear that what you are trying to do is floating-point arithmetic with numbers that are not base 10 (specifically base two).

That's (I think) a pretty unusual requirement. May I ask what the application is for?

When people talk about a calculator working in binary or hex, it's generally assumed that it's integer math involved, not floating-point. Your case is an exception...

I'm more of a mathematician than an engineer.

Anyway, the germination of this idea came from Continued Fractions, Cantor's Set and from the fact that #0.010101...b approaches 1/3. This latter property can be used to trisect an angle with compass and straightedge ... at least to the extent of generating a sequence of angles which converges to 1/3 of the original angle.

Part of everyone's education is an understanding of decimal notation and an extension to bases other than 10. No one ever told me this only applies to integers.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Any Binary Calculators - Kaliuzhkin - 11-20-2019, 07:09 PM
RE: Any Binary Calculators - Kaliuzhkin - 11-20-2019, 07:44 PM
RE: Any Binary Calculators - Jim Horn - 11-20-2019, 07:41 PM
RE: Any Binary Calculators - BruceH - 11-20-2019, 11:36 PM
RE: Any Binary Calculators - Joe Horn - 11-21-2019, 01:05 AM
RE: Any Binary Calculators - burkhard - 11-21-2019, 05:52 PM
RE: Any Binary Calculators - Kaliuzhkin - 11-21-2019 06:23 PM
RE: Any Binary Calculators - KeithB - 11-21-2019, 07:06 PM
RE: Any Binary Calculators - burkhard - 11-21-2019, 08:32 PM
RE: Any Binary Calculators - Claudio L. - 11-21-2019, 11:38 PM



User(s) browsing this thread: 3 Guest(s)