搜索资源列表
Arith
- 由于Java的简单类型不能够精确的对浮点数进行运算,这个工具类提供精确的浮点数运算,包括加减乘除和四舍五入。-Since Java' s simple types can not be precise on the floating-point operations, the tools to provide accurate floating-point operations, including addition and subtraction multiplication and d
Caculator
- 使用Java开发,实现整数和浮点数的加、减、乘、除等功能。-Use of Java development, to achieve integer and floating point add, subtract, multiply, divide and so on.
Calculator
- 建议计算器,能进行浮点数的加减乘除,swing界面-Recommended calculator for floating-point addition and subtraction, multiplication and division can, swing interface
2
- 简单的输入整数与浮点数计算的Java Applet程序-Enter integer and floating-point simple calculation procedure Java Applet
Adder
- GUI方法的浮点数加法器实例,运用了textfield和button-GUI method of floating-point adder instance, use the textfield and the button
bignumber
- Java中的简单浮点数类型float和double不能够进行精确的运算,只能用来做科学计算或者是工程计算。 不光是Java,在其它很多编程语言中也有这样的问题。在大多数情况下,计算的结果是准确的, 但是多试几次(可以做一个循环)就可以试出类似上面的错误。 这个问题相当严重,如果你有9.999999999999元,你的计算机是不会认为你可以购买10元的商品的。 为了解决Java基本数据类型在运算时会出现的溢出和计算不精确的问题。 Java 提供了两个类BigInteger和Bi
CalculateTheSummary
- 1. 编写一个程序打印数出有10个元素的浮点数组a1中最大值和最小值。 2.将有10个元素的数组a1 拷贝至含有15个元素的数组b1的一段位置。 3.将一个已存入数组中的值45,89,7,6,0,按0,6,7,89,45的次序打印出来。 4. 求一个3*3矩阵对角线元素之和。 5.设某个一维数组中有25个元素,编写一个顺序查找程序,从中查找值为80的元素在数组中的位置。 -1. Write a program that prints out a number of floa
PrintMaxMin
- 编写一个程序打印数出有10个元素的浮点数组a1中最大值和最小值。-Write a program that prints out a number of floating-point set of 10 elements in the maximum and minimum values a1.
FloatOperation
- Java的简单类型不能够精确的对浮点数进行运算,这个工具类提供精确的浮点数运算,包括加减乘除和四舍五入。-Java' s simple types can not be accurately carried out on the floating-point operations, the tools provide accurate floating-point operations, including addition, subtraction and rounding.
ZuChengYuanLi
- 计算机组成原理算法实现(二) 课题2,能够实现定点小数的机器数表示、定点小数的变形补码加减运算、定点小数的原码一位乘法运算和浮点数的加减运算-Principles of Computer Algorithm (b) subject 2, the machine can achieve the fixed-point decimal number that the deformation of complement fixed-point decimal addition and subtra
cout
- 字符排序;1)对整数的排序2)对浮点数的排序3)对字符串的排序-Character sort
FGA_Bounds
- java实现的浮点数编码遗传算法,很有用,只需更改适应度函数即可-the complement of genetic algorithm by java, which is very useful via changing the fitness function for any use.
calculator
- 一个用java Applet实现的完整的简单的计算器,可以进行整数和浮点数的基本运算。-A simple calculator, can finish integer and floating-point computation
diguixiajiangwenfa
- 一、实验目的 实现一个递归下降语法分析程序,识别用户输入的算术表达式。 二、实验主要内容 1、文法如下: E® TE` E’® +TE’|-TE’|e T® FT` T’® *FT’|/FT’|e F® (E)|i 2、求取各非终结符的First及Follow集合 3、编程实现下降递归分析法,识别从键盘输入的关于整数或浮点数的算术表达式(在此,上述文法中的i代表整数或浮点数) 4、对于语法错误,要指出错误具体信息。
JavaApplication1
- 1.编写一个程序,要求将一个浮点数强制转化成整型后再输出。 2、请计算出3至1000范围内最大的10个素数,并计算出其累加和。 3、编写一程序,输出今年的年历。-1 Write a program that requires a floating-point number and then forced into plastic output. 2, please calculate the 3-1000 range maximum 10 primes, and calculate
jsjzc
- 用于计算机组成原理课程设计的计算浮点数加减法.相乘.补码.原码.移值等计算.-Principles of curriculum design for computer component floating point addition and subtraction calculations. Multiplied. Complement. Original code. Transplant peer computing.
by_langx
- [JAVA源码]捣鼓生成浮点数的最小最大值的正则表达式-[JAVA source] fiddle minimum and maximum floating point numbers generated regex
ArithmeticUtils
- Java精确计算辅助类,解决大数据及需要精确计算浮点数的场景不能准确表达小数的问题。-Java Arithmetic Utils
Money
- 给定一个浮点数,将其转换为金额的中文大写形式的字符串。例如,123.45表示为“壹佰贰拾叁元肆角伍分”。 注意以下几种情况: A.当金额为整数时,只表示整数部分,省略小数部分,并添加“整”字,例如123表示成“壹佰贰拾叁元整”。 B.当金额中含有连续的0时,只需写一个“零”即可。例如10005表示为“壹万零伍元整”。 C.10的省略表示。例如110表示为“壹佰壹拾元整”,而10表示为“拾元整”。 D.100表示为“壹佰元整”,1000表示为“壹仟元整”-Given a flo
Adder
- 一个简单的加法计算器,可以实现浮点数的加法,适合java入门学员-A simple addition calculator, can implement floating-point addition, suitable for Java introduction to students