Lines Matching defs:Decimal

2277 **         signs are ignored.  Decimal points and exponential notation
2381 typedef struct Decimal Decimal;
2382 struct Decimal {
2393 ** Release memory held by a Decimal, but do not free the object itself.
2395 static void decimal_clear(Decimal *p){
2400 ** Destroy a Decimal object
2402 static void decimal_free(Decimal *p){
2410 ** Allocate a new Decimal object. Initialize it to the number given
2413 static Decimal *decimal_new(
2419 Decimal *p;
2530 ** Make the given Decimal the result.
2532 static void decimal_result(sqlite3_context *pCtx, Decimal *p){
2592 Decimal *p = decimal_new(context, argv[0], 0, 0);
2599 ** Compare to Decimal objects. Return negative, 0, or positive if the
2609 static int decimal_cmp(const Decimal *pA, const Decimal *pB){
2615 const Decimal *pTemp = pA;
2644 Decimal *pA = 0, *pB = 0;
2662 ** Expand the Decimal so that it has a least nDigit digits and nFrac
2665 static void decimal_expand(Decimal *p, int nDigit, int nFrac){
2694 static void decimal_add(Decimal *pA, Decimal *pB){
2769 Decimal *pA = decimal_new(0, 0, nKey1, zA);
2770 Decimal *pB = decimal_new(0, 0, nKey2, zB);
2795 Decimal *pA = decimal_new(context, argv[0], 0, 0);
2796 Decimal *pB = decimal_new(context, argv[1], 0, 0);
2808 Decimal *pA = decimal_new(context, argv[0], 0, 0);
2809 Decimal *pB = decimal_new(context, argv[1], 0, 0);
2830 Decimal *p;
2831 Decimal *pArg;
2856 Decimal *p;
2857 Decimal *pArg;
2868 Decimal *p = sqlite3_aggregate_context(context, 0);
2873 Decimal *p = sqlite3_aggregate_context(context, 0);
2894 Decimal *pA = decimal_new(context, argv[0], 0, 0);
2895 Decimal *pB = decimal_new(context, argv[1], 0, 0);