MathgeomGLS

Форк
0
/
Velthuis.StrConsts.pas 
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

37
unit Velthuis.StrConsts;
38

39
interface
40

41
resourcestring
42
  SErrorParsingFmt         = '''%s'' is not a valid %s value';
43
  SDivisionByZero          = 'Division by zero';
44
  SOverflow                = 'Resulting value too big to represent';
45
  SOverflowFmt             = '%s: Resulting value too big to represent';
46
  SInvalidOperation        = 'Invalid operation';
47
  SConversionFailedFmt     = '%s value too large for conversion to %s';
48
  SInvalidArgumentFloatFmt = '%s parameter may not be NaN or +/- Infinity';
49
  SInvalidArgumentBase     = 'Base parameter must be in the range 2..36';
50
  SInvalidArgumentFmt      = 'Invalid argument: %s';
51
  SOverflowInteger  = 'Value %g cannot be converted to an integer ratio';
52
  SNegativeRadicand        = '%s: Negative radicand not allowed';
53
  SNoInverse               = 'No modular inverse possible';
54
  SNegativeExponent        = 'Negative exponent %s not allowed';
55
  SUnderflow               = 'Resulting value too small to represent';
56
  SRounding                = 'Rounding necessary';
57
  SExponent                = 'Exponent to IntPower outside the allowed range';
58
  SZeroDenominator         = 'BigRational denominator cannot be zero';
59

60
implementation
61

62
end.
63

64

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.