摘要: C实现booth算法,定点小数补码一位乘法 #include <stdio.h> #include <string.h> #include<stdlib.h> #define N 10 char strA[N] = {1}; char strpB[N] = {0}; char strnB[N] = 阅读全文
posted @ 2019-11-05 18:38 炳文 阅读(585) 评论(0) 推荐(0)
摘要: 大多是OS X系统都默认安装了Python。确定安装了Python后,你还需要安装一个文本编辑器,并确保其配置正确无误。 1.检查是否安装了Python 按住Command+Space,再输入terminal并按回车。输入命令python,输出指出了Python的版本,最后的>>>是一个提示符,意为 阅读全文
posted @ 2019-11-05 18:33 炳文 阅读(324) 评论(0) 推荐(0)
摘要: 官方网站: http://mxcl.github.com/homebrew/ 此网站中已经讲解了如何安装homebrew,不过我下面还是简单的介绍一下 Homebrew是基于Ruby的(Mac电脑默认是安装的1.8.7版本的ruby),所以安装过程也是很简单的,把下面的代码粘贴到Terminal中执 阅读全文
posted @ 2019-03-14 18:52 炳文 阅读(185) 评论(0) 推荐(0)