Return-Path: X-Original-To: apmail-freemarker-notifications-archive@minotaur.apache.org Delivered-To: apmail-freemarker-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1375E181E2 for ; Sat, 2 Jan 2016 00:47:10 +0000 (UTC) Received: (qmail 33147 invoked by uid 500); 2 Jan 2016 00:47:10 -0000 Delivered-To: apmail-freemarker-notifications-archive@freemarker.apache.org Received: (qmail 33127 invoked by uid 500); 2 Jan 2016 00:47:10 -0000 Mailing-List: contact notifications-help@freemarker.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@freemarker.incubator.apache.org Delivered-To: mailing list notifications@freemarker.incubator.apache.org Received: (qmail 33118 invoked by uid 99); 2 Jan 2016 00:47:09 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2016 00:47:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7A66A1804FB for ; Sat, 2 Jan 2016 00:47:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.226 X-Spam-Level: * X-Spam-Status: No, score=1.226 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id KgqlrEtrCjy0 for ; Sat, 2 Jan 2016 00:47:08 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 185C725E21 for ; Sat, 2 Jan 2016 00:47:05 +0000 (UTC) Received: (qmail 32757 invoked by uid 99); 2 Jan 2016 00:47:04 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2016 00:47:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6437FE0B41; Sat, 2 Jan 2016 00:47:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: ddekany@apache.org To: notifications@freemarker.incubator.apache.org Date: Sat, 02 Jan 2016 00:47:15 -0000 Message-Id: <19b93272d90f4ff68fd9bcc542f3425e@git.apache.org> In-Reply-To: <78f87bf682e242efb3485d1e055eb32b@git.apache.org> References: <78f87bf682e242efb3485d1e055eb32b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [12/19] incubator-freemarker git commit: Remove re-generatble csv as it's not possible to add copyright comments to it. Remove re-generatble csv as it's not possible to add copyright comments to it. Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/2a567e30 Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/2a567e30 Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/2a567e30 Branch: refs/heads/master Commit: 2a567e30cac12229bcbfd230d251d5a9473f2011 Parents: 85f52ff Author: ddekany Authored: Fri Jan 1 13:20:12 2016 +0100 Committer: ddekany Committed: Fri Jan 1 13:20:12 2016 +0100 ---------------------------------------------------------------------- src/main/misc/overloadedNumberRules/prices.csv | 48 --------------------- 1 file changed, 48 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2a567e30/src/main/misc/overloadedNumberRules/prices.csv ---------------------------------------------------------------------- diff --git a/src/main/misc/overloadedNumberRules/prices.csv b/src/main/misc/overloadedNumberRules/prices.csv deleted file mode 100644 index c12d7ba..0000000 --- a/src/main/misc/overloadedNumberRules/prices.csv +++ /dev/null @@ -1,48 +0,0 @@ -,Byte,Short,Integer,Long,BigInteger,Float,Double,BigDecimal,,Note -Byte,0,1,1,1,1,2,2,2,, -ShortOrByte,2.1,0,1,1,1,2,2,2,, -Short,-,0,1,1,1,2,2,2,, -IntegerOrByte,2.2,2.1,0,1,1,2.4,2,2,, -IntegerOrShort,-,2.1,0,1,1,2.4,2,2,, -Integer,-,-,0,1,1,3,2,2,, -LongOrByte,2.3,2.2,2.1,0,1,2.4,2.1,2,, -LongOrShort,-,2.2,2.1,0,1,2.4,2.1,2,, -LongOrInteger,-,-,2.1,0,1,3,2.1,2,, -Long,-,-,-,0,1,4,3,2,, -BigIntegerOrByte,1.8,1.7,1.6,1.5,0,2.4,2,1,, -BigIntegerOrShort,-,1.7,1.6,1.5,0,2.4,2,1,, -BigIntegerOrInteger,-,-,1.6,1.5,0,3,2,1,, -BigIntegerOrLong,-,-,-,1.5,0,4,3,1,, -BigIntegerOrFloat,N/A,N/A,N/A,N/A,0,2.4,2,1,,"Condition: No whole-number target types exist, and abs(value) <= 2**24" -BigIntegerOrDouble,N/A,N/A,N/A,N/A,0,4,2,1,,"Condition: No whole-number target types exist, and abs(value) <= 2**53" -BigInteger,-,-,-,-,0,-,-,1,, -FloatOrByte,2.3,2.2,2.1,2.1,2.5,0,1,2,,"Condition: fraction == 0, in [T.MIN_VALUE .. T.MAX_VALUE]" -FloatOrShort,-,2.2,2.1,2.1,2.5,0,1,2,,"Condition: fraction == 0, in [T.MIN_VALUE .. T.MAX_VALUE]" -FloatOrInteger,-,-,2.1,2.1,2.5,0,1,2,,"Condition: fraction == 0, in [-16777216 .. 16777216]" -Float,-,-,-,-,-,0,1,2,, -DoubleOrByte,2.5,2.4,2.2,2.1,2.1,2.3,0,2,,"Condition: fraction == 0, in [T.MIN_VALUE .. T.MAX_VALUE]" -DoubleOrShort,-,2.4,2.2,2.1,2.1,2.3,0,2,,"Condition: fraction == 0, in [T.MIN_VALUE .. T.MAX_VALUE]" -DoubleOrIntegerOrFloat,-,-,2.2,2.1,2.1,2.3,0,2,,"Condition: fraction == 0, in [-16777216 .. 16777216]" -DoubleOrInteger,-,-,2.2,2.1,2.1,3,0,2,,"Condition: fraction == 0, in [T.MIN_VALUE .. T.MAX_VALUE]" -DoubleOrLong,-,-,-,2.1,2.1,4,0,2,,"Condition: fraction == 0, in [-9007199254740992..9007199254740992]" -DoubleOrFloat,-,-,-,-,-,3,0,2,,Condition: no magnitude loss -Double,-,-,-,-,-,-,0,2,, -IntegerBigDecimal,3.5,3.4,3.1,3.1,1,3.3,3.2,0,,Condition: fraction == 0; for BC we convert rather �bravely� here. -BigDecimal,4.5,4.4,4.1,4.1,4,3.3,3.2,0,,Condition: fraction != 0; for BC we convert rather �bravely� here. -,,,,,,,,,, -,Legend:,,,,,,,,, -,,"The numbers are the �price� of the conversion, and they tell how much we try to avoid it (when selecting among overloaded methods):",,,,,,,, -,,,,,,,,,, -,,0,No conversion,,,,,,, -,,1,Lossless conversion,,,,,,, -,,2,"Up to but excluding 3, lossless but certainly unintended conversion.",,,,,,, -,,3,Smaller precision loss in mantissa.,,,,,,, -,,4,Bigger precision loss in mantissa.,,,,,,, -,,-,Magnitude loss or overflow => not allowed,,,,,,, -,,N/A,Doesn't mater (Not Applicable),,,,,,, -,,,,,,,,,, -,Notes:,,,,,,,,, -,-,"FooOrBar types mean that the argument's type was Foo, but the value also fits into the more specific Bar type.",,,,,,,, -,,"This possibility should only be utilized as a last resort, to keep the method selection stable (always selects the same method) for Foo-s regardless of the actual value.",,,,,,,, -,,"This is why the column of Bar-s tends to use higher costs than the less fitting columns that are, however, also selectable for higher values of type Foo.",,,,,,,, -,-,"Between same-price conversions the one in the leftmost column (i.e., the smallest type) wins. This is realized in the Java code generator.",,,,,,,,