MathgeomGLS
62 строки · 3.8 Кб
1{---------------------------------------------------------------------------}
2{ }
3{ File: Velthuis.StrConsts.pas }
4{ Function: Constants for error messages for BigNumbers. }
5{ Language: Delphi version XE3 or later }
6{ Author: Rudy Velthuis }
7{ Copyright: (c) 2016 Rudy Velthuis }
8{ }
9{ License: Redistribution and use in source and binary forms, with or }
10{ without modification, are permitted provided that the }
11{ following conditions are met: }
12{ }
13{ * Redistributions of source code must retain the above }
14{ copyright notice, this list of conditions and the following }
15{ disclaimer. }
16{ * Redistributions in binary form must reproduce the above }
17{ copyright notice, this list of conditions and the following }
18{ disclaimer in the documentation and/or other materials }
19{ provided with the distribution. }
20{ }
21{ Disclaimer: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER "AS IS" }
22{ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT }
23{ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND }
24{ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO }
25{ EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE }
26{ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, }
27{ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, }
28{ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, }
29{ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED }
30{ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT }
31{ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) }
32{ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF }
33{ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. }
34{ }
35{---------------------------------------------------------------------------}
36
37unit Velthuis.StrConsts;
38
39interface
40
41resourcestring
42SErrorParsingFmt = '''%s'' is not a valid %s value';
43SDivisionByZero = 'Division by zero';
44SOverflow = 'Resulting value too big to represent';
45SOverflowFmt = '%s: Resulting value too big to represent';
46SInvalidOperation = 'Invalid operation';
47SConversionFailedFmt = '%s value too large for conversion to %s';
48SInvalidArgumentFloatFmt = '%s parameter may not be NaN or +/- Infinity';
49SInvalidArgumentBase = 'Base parameter must be in the range 2..36';
50SInvalidArgumentFmt = 'Invalid argument: %s';
51SOverflowInteger = 'Value %g cannot be converted to an integer ratio';
52SNegativeRadicand = '%s: Negative radicand not allowed';
53SNoInverse = 'No modular inverse possible';
54SNegativeExponent = 'Negative exponent %s not allowed';
55SUnderflow = 'Resulting value too small to represent';
56SRounding = 'Rounding necessary';
57SExponent = 'Exponent to IntPower outside the allowed range';
58SZeroDenominator = 'BigRational denominator cannot be zero';
59
60implementation
61
62end.
63
64