Click here to Skip to main content
15,909,373 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: If Tesla was Apple... Pin
MacSpudster20-Jan-18 11:51
professionalMacSpudster20-Jan-18 11:51 
GeneralRe: If Tesla was Apple... Pin
Munchies_Matt20-Jan-18 22:18
Munchies_Matt20-Jan-18 22:18 
GeneralRe: If Tesla was Apple... Pin
Manfred Rudolf Bihy21-Jan-18 1:19
professionalManfred Rudolf Bihy21-Jan-18 1:19 
GeneralRe: If Tesla was Apple... Pin
Munchies_Matt21-Jan-18 1:30
Munchies_Matt21-Jan-18 1:30 
GeneralRe: If Tesla was Apple... Pin
MacSpudster21-Jan-18 5:00
professionalMacSpudster21-Jan-18 5:00 
GeneralRe: If Tesla was Apple... Pin
Eddy Vluggen20-Jan-18 12:26
professionalEddy Vluggen20-Jan-18 12:26 
GeneralRe: If Tesla was Apple... Pin
RossMW20-Jan-18 16:01
professionalRossMW20-Jan-18 16:01 
GeneralMath idea - Ternary - Dozenal BATCH FILE CALCULATOR Pin
Member 1363428620-Jan-18 6:51
Member 1363428620-Jan-18 6:51 
Ternary-dozenal calculator no zeros - Pastebin.com[^]

So I'm just lounging around and I figured I'd share what I'm working on with all of you.

The above link is a super efficient and low-profile batch file that can do dozenal (twelve base) math. It looks at all numbers as FOUR groups of THREES. So it's a ternary calculator in a way. As of now it only adds 2 single digit numbers. I'll add more digits to each number later. However, it does not use the CPU's hardware arithmetic. It's done 100% in software, hence the need for more lines of code as you can see. I made this batch file to test a hardware design I'm working on.

The key number pin-out and associations take up quite a bit of space, but the math logic itself is under 30 lines of code I think. The idea is that each line of code for the math logic sections of the file would equate to roughly 27-30 transistors. I believe I can get it down to 24. However, if this logical system was made with HARDWARE, the cost of build/cost per hour efficiency would be ridiculous. Full adders generally use 85 transistors just to add 15 + 15 = 30. Mine can count to 23 (24 with normal counting) and it will (eventually) use a mere 24 transistors.

The calculator does not use zeros. Read the instructions in the batch to figure out how it actually does math.

Anyways, i would like to spread my ideas about this. I think this can change the future of computer hardware as well as programming. Simplified binary logic could really be a game changer. I am now in the process of programming a simple assembly coded operating system using TERNARY TREE logic. But not just for searches, for everything the OS will do. What do you think?

Any questions or suggestions would be much appreciated.

modified 20-Jan-18 13:08pm.

GeneralRe: Math idea - Ternary - Dozenal BATCH FILE CALCULATOR Pin
OriginalGriff20-Jan-18 8:29
mveOriginalGriff20-Jan-18 8:29 
GeneralRe: Math idea - Ternary - Dozenal BATCH FILE CALCULATOR Pin
Jörgen Andersson20-Jan-18 8:46
professionalJörgen Andersson20-Jan-18 8:46 
GeneralRe: Math idea - Ternary - Dozenal BATCH FILE CALCULATOR Pin
Member 1363428620-Jan-18 9:10
Member 1363428620-Jan-18 9:10 
GeneralRe: Math idea - Ternary - Dozenal BATCH FILE CALCULATOR Pin
harold aptroot20-Jan-18 10:11
harold aptroot20-Jan-18 10:11 
GeneralRe: Math idea - Ternary - Dozenal BATCH FILE CALCULATOR Pin
Member 1363428620-Jan-18 15:48
Member 1363428620-Jan-18 15:48 
GeneralRe: Math idea - Ternary - Dozenal BATCH FILE CALCULATOR Pin
Member 1363428620-Jan-18 16:02
Member 1363428620-Jan-18 16:02 
GeneralRe: Math idea - Ternary - Dozenal BATCH FILE CALCULATOR Pin
BillWoodruff20-Jan-18 15:08
professionalBillWoodruff20-Jan-18 15:08 
GeneralRe: Math idea - Ternary - Dozenal BATCH FILE CALCULATOR Pin
Member 1363428621-Jan-18 0:16
Member 1363428621-Jan-18 0:16 
GeneralRe: Math idea - Ternary - Dozenal BATCH FILE CALCULATOR Pin
BillWoodruff21-Jan-18 2:04
professionalBillWoodruff21-Jan-18 2:04 
GeneralRe: Math idea - Ternary - Dozenal BATCH FILE CALCULATOR Pin
Member 1363428621-Jan-18 23:43
Member 1363428621-Jan-18 23:43 
GeneralRe: Math idea - Ternary - Dozenal BATCH FILE CALCULATOR Pin
BillWoodruff22-Jan-18 0:42
professionalBillWoodruff22-Jan-18 0:42 
GeneralI was sent this, and... Pin
OriginalGriff20-Jan-18 5:25
mveOriginalGriff20-Jan-18 5:25 
GeneralRe: I was sent this, and... Pin
PIEBALDconsult20-Jan-18 6:25
mvePIEBALDconsult20-Jan-18 6:25 
GeneralRe: I was sent this, and... Pin
kmoorevs20-Jan-18 6:34
kmoorevs20-Jan-18 6:34 
GeneralRe: I was sent this, and... Pin
lopatir20-Jan-18 6:44
lopatir20-Jan-18 6:44 
JokeOne in nine Americans think HTML is a disease! Pin
Cornelius Henning20-Jan-18 2:01
professionalCornelius Henning20-Jan-18 2:01 
GeneralRe: One in nine Americans think HTML is a disease! Pin
Eddy Vluggen20-Jan-18 2:03
professionalEddy Vluggen20-Jan-18 2:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.