代码搜索:decimal
找到约 6,613 项符合「decimal」的源代码
代码结果 6,613
www.eeworm.com/read/214617/4908061
asv decimal2bi.asv
function y=decimal2bi(x,n)
x=0.84837
n=8
x_temp=x
y(1)=0
for k=2:n
y(k)=floor(abs(x_temp)*2)
x_temp=abs(x_temp)*2-y(k)
end
if x
www.eeworm.com/read/214617/4908069
m decimal2bi.m
function y=decimal2bi(x,n)
x_temp=x
y(1)=0
for k=2:n
y(k)=floor(abs(x_temp)*2)
x_temp=abs(x_temp)*2-y(k)
end
if x
www.eeworm.com/read/182365/5264139
e test_decimal_general.e
indexing
description: "General Decimal Arithmetic test cases parsing and execution."
library: "EDA"
author: "Paul G. Crismer"
date: "$Date: 2003/02/06 22:42:26 $"
revision: "$Revision:
www.eeworm.com/read/311226/3686803
rq tp-double-decimal.rq
# Positive test: product of type promotion within the xsd:decimal type tree.
# $Id: tP-double-decimal.rq,v 1.9 2007/09/17 17:40:55 andy_seaborne Exp $
PREFIX t:
www.eeworm.com/read/311226/3686810
rq tp-float-decimal.rq
# Positive test: product of type promotion within the xsd:decimal type tree.
# $Id: tP-float-decimal.rq,v 1.9 2007/09/17 17:40:56 andy_seaborne Exp $
PREFIX t:
www.eeworm.com/read/311226/3686814
rq tp-short-decimal.rq
# Positive test: product of type promotion within the xsd:decimal type tree.
# $Id: tP-short-decimal.rq,v 1.9 2007/09/17 17:40:56 andy_seaborne Exp $
PREFIX t:
www.eeworm.com/read/270401/4239314
drl big_decimal_and_comparable.drl
#created on: 27-Mar-2006
package org.drools.test
import org.drools.Person;
import java.math.BigDecimal;
global java.util.List list;
rule "BigDec"
when
b : BigDecimal()
p : Person
www.eeworm.com/read/440773/1792120
rq tp-double-decimal.rq
# Positive test: product of type promotion within the xsd:decimal type tree.
# $Id: tP-double-decimal.rq,v 1.5 2007/01/15 16:14:58 andy_seaborne Exp $
PREFIX t:
www.eeworm.com/read/440773/1792127
rq tp-float-decimal.rq
# Positive test: product of type promotion within the xsd:decimal type tree.
# $Id: tP-float-decimal.rq,v 1.5 2007/01/15 16:15:13 andy_seaborne Exp $
PREFIX t:
www.eeworm.com/read/440773/1792131
rq tp-short-decimal.rq
# Positive test: product of type promotion within the xsd:decimal type tree.
# $Id: tP-short-decimal.rq,v 1.5 2007/01/15 16:15:11 andy_seaborne Exp $
PREFIX t: