You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
时隔一年,我终于带来了有UCGE史上更新幅度最大的版本——Universal Calculator 2.0.0(虽然时隔一年的主要原因是没时间更新)。
这次,代码长度首度突破千行,达到了1067行!相比于VER 1.7.1的749行多了318行!
在这318行中,光是重写底层、修复bug、优化功能就用了164行,共涉及16个功能,还有154行用于增加新功能。
更新时间:2023年7月27日(昨天更新的,今天发出来)
更新内容:
1、重写底层和界面,使代码更加模块化,程序使用更便捷。
2、将功能选择变量更换为string类型,提升容错能力。
3、将所有强制转换的类型改为long long,提升兼容性。
4、将数组a与数组k整合,减少了1个数组,减少对内存的使用。
5、将加、减、乘、除、乘方、 模余整合为通用计算。
6、优化了通用计算、开平方、等差数列求末项、进制转换(整数)和随机数生成的使用体验,优化了质数表&质数个数统计、排列数计算、组合数计算、最大公因数、最小公倍数、杨辉三角整行求和、杨辉三角求项、奇数阶幻方、进制转换(整数)和随机数生成的代码,修复了快速幂(非负整数)、判断质数、排列数计算、组合数计算、进制转换(整数)和字符串分割的bug。
7、增加对等差数列求末项的负数支持和九宫数独。
This discussion was created from the release VER 2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions