当前位置:网站首页>普通三进制逻辑数学世界先驱者——伍耀晖先生面向全球公布普通三进制逻辑数学全部真值表科研成果(伍氏定律)
普通三进制逻辑数学世界先驱者——伍耀晖先生面向全球公布普通三进制逻辑数学全部真值表科研成果(伍氏定律)
2022-06-09 19:12:00 【大飞哥软件自习室】
准备组建“国际三进制科技联盟” 着手制造三进制 CPU
三进制一个字节用6个位表示 最高位为左 最低位为右表示 5 4 3 2 1 0 值范围从0到727 包含二进制字节全值范围
三进制负数采用同二进制一样的原理——补码表示 但是与二进制不同 很特别 1是不变的 只能0和2互变
TrinaryNot 0 1 2
2 1 0
TrinaryAnd 0 1 2 TrinaryNotAnd 0 1 2
0 0 0 0 0 2 2 2
1 0 1 1 1 2 1 1
2 0 1 2 2 2 1 0
TrinaryOr 0 1 2 TrinaryNotOr 0 1 2
0 0 1 2 0 2 1 0
1 1 1 2 1 1 1 0
2 2 2 2 2 0 0 0
(相当于Xor异或 用于加密)TrinaryXor 0 1 2 等价 0 1 2 等价 0 1 2 等价 0 1 2
0 0 0 2 0 0 2 2 0 0 1 2 0 0 1 2
1 1 1 1 1 1 1 1 1 0 1 2 1 2 1 0
2 2 2 0 2 2 0 0 2 2 1 0 2 2 1 0
(相当于Xand同或 用于加密)TrinaryXand 0 1 2 等价 0 1 2 等价 0 1 2 等价 0 1 2
0 2 0 0 0 2 2 0 0 2 1 0 0 2 1 0
1 1 1 1 1 1 1 1 1 0 1 2 1 2 1 0
2 0 2 2 2 0 0 2 2 0 1 2 2 0 1 2
普通三进制逻辑数学特有
(用于哈希码)TrinaryAdd 0 1 2 TrinaryNotAdd 0 1 2
0 0 1 2 0 2 1 0
1 1 2 0 1 1 0 2
2 2 0 1 2 0 2 1
(用于哈希码)TrinarySubtraction 0 1 2 或 0 1 2 TrinaryNotSubtraction 0 1 2 或 0 1 2
0 0 2 1 0 0 1 2 0 2 0 1 0 2 1 0
1 1 0 2 1 2 0 1 1 1 2 0 1 0 2 1
2 2 1 0 2 1 2 0 2 0 1 2 2 1 0 2
(用于哈希码)TrinaryMultiplication 0 1 2 TrinaryNotMultiplication 0 1 2
0 0 0 0 0 2 2 2
1 0 1 2 1 2 1 0
2 0 2 1 2 2 0 1
(用于哈希码)TrinaryDivision 0 1 2 或 0 1 2 TrinaryNotDivision 0 1 2 或 0 1 2
0 0 0 0 0 0 0 0 0 2 2 2 0 2 2 2
1 0 1 0 1 0 1 2 1 2 1 2 1 2 1 0
2 0 2 1 2 0 0 1 2 2 0 1 2 2 2 1
以下是演示代码
C 源码
坐等赶超美国见证奇迹 |
边栏推荐
- MongoDB数据库条件查询技巧总结
- MySQL parallel replication (MTS) principle (full version)
- 三星彻底关闭LCD产线,300名员工转移至芯片封装部门
- Krypton Evening News - Apple won the lawsuit, and the US judge rejected the class action on iPhone and iPad security defects; It is reported that JD will pilot the catering takeout business
- 10个常见触发IO瓶颈的高频业务场景
- 可视化展示炫酷3D图表
- GNN如何泛化?这篇135页pdf博士论文《神经图推理与学习的泛化评估与改进》
- Fastjon2他来了,性能显著提升,还能再战十年
- 音频 3A 处理实践,让你的应用更「动听」
- Troubleshooting cl210openstack operations -- diagnosing openstack problems
猜你喜欢

Meinong bio is about to be listed: its operation has been relatively stable in the past three years, and it is estimated that the over raised amount is about 100million yuan

MQTT 图形化客户端-MQTTX安装使用教程

押宝云原生,Ampere Computing打响服务器芯片变革关键一枪

mfc连接数据库显示未发现数据源名称并且未指定默认驱动程序

Using fingerprint for windows two factor identity authentication is both safe and convenient

Fast finding the number of nodes in a complete binary tree
MySQL optimization tutorial: slow query log practice

深入浅出对话系统——概述

What is a cluster? Why use a cluster architecture?

mtb12_PearsonR_correlAtion coefficient_heatmap_Distribution Bin_Clean Step类型转换慎_spatial dist_改变para值
随机推荐
【数据库数据恢复】windows server环境下SqlServer数据库文件未知原因丢失的数据恢复案例
As a programming ape, do you really know how to operate Google browser
Fast finding the number of nodes in a complete binary tree
leetcode:剑指 Offer 56 - I. 数组中数字出现的次数【分组异或】
Pourquoi Google Search ne peut - il pas Pager indéfiniment?
Deep learning and CV tutorial (13) | target detection (SSD, Yolo Series)
深入浅出对话系统——概述
MySQL parallel replication (MTS) principle (full version)
视觉AI芯片厂商肇观电子获亿元融资,工银资本领投
深度学习与CV教程(13) | 目标检测 (SSD,YOLO系列)
10个常见触发IO瓶颈的高频业务场景
FPM tool installation
Demagnetization and balance adjustment steps of oscilloscope current probe
第一次画板子小记
How about JPMorgan futures? Is it safe to open futures accounts?
155_ Model_ Safety stock of power Bi & power pivot purchase, sales and inventory
尽一份孝心,为家人做一个老人防摔报警系统
Godson huweiwu: overcome the slave mentality and make your own CPU instruction system! Loongarch will keep pace with x86/arm
《微信小程序-基础篇》初识微信小程序
金鱼哥RHCA回忆录:DO447管理清单--章节实验