Home | History | Annotate | Download | only in orig

Lines Matching defs:double

379 # define double sqlite3_int64
1277 int (*xCurrentTime)(sqlite3_vfs*, double*);
3528 SQLITE_API int sqlite3_bind_double(sqlite3_stmt*, int, double);
4029 SQLITE_API double sqlite3_column_double(sqlite3_stmt*, int iCol);
4310 SQLITE_API double sqlite3_value_double(sqlite3_value*);
4572 SQLITE_API void sqlite3_result_double(sqlite3_context*, double);
5542 double estimatedCost; /* Estimated cost of using this index */
7487 # undef double
7519 /* The double-precision datatype used by RTree depends on the
7525 typedef double sqlite3_rtree_dbl;
8372 # define double sqlite_int64
8493 # define LONGDOUBLE_TYPE long double
9145 double *pReal; /* Used when p4type is P4_REAL */
10493 double notUsed1; /* Spacer */
12433 SQLITE_PRIVATE int sqlite3IsNaN(double);
12756 SQLITE_PRIVATE int sqlite3AtoF(const char *z, double*, int, u8);
12765 SQLITE_PRIVATE LogEst sqlite3LogEstFromDouble(double);
14024 double r; /* Real value */
14273 SQLITE_PRIVATE void sqlite3VdbeMemSetDouble(Mem*, double);
14282 SQLITE_PRIVATE double sqlite3VdbeRealValue(Mem*);
14657 double s; /* Seconds */
14767 double ms = 0.0;
14779 double rScale = 1.0;
14921 double r;
15150 double r;
15263 double rRounder;
15555 double s = x.s;
15987 double r;
17174 ** two fields form a double-linked list of chunks of related sizes.
20641 ** "*val" is a double such that 0.1 <= *val < 10.0
20681 static double getDoubleArg(PrintfArguments *p){
20737 double rounder; /* Used for rounding floating point values */
20964 realvalue = va_arg(ap,double);
20983 if( sqlite3IsNaN((double)realvalue) ){
22296 SQLITE_PRIVATE int sqlite3IsNaN(double x){
22325 volatile double y = x;
22326 volatile double z = y;
22497 ** Convert this string to a double and write it into *pResult.
22517 SQLITE_PRIVATE int sqlite3AtoF(const char *z, double *pResult, int length, u8 enc){
22528 double result;
22626 result = (sign<0 && nDigits) ? -(double)0 : (double)0;
22670 result = (double)s;
23574 ** Convert a double into a LogEst
23577 SQLITE_PRIVATE LogEst sqlite3LogEstFromDouble(double x){
29975 /* Database filenames are double-zero terminated if they are not
29989 /* Generated temporary filenames are always double-zero terminated
30461 static int unixCurrentTime(sqlite3_vfs *NotUsed, double *prNow){
31752 /* Double-check that the aSyscall[] array has been constructed
36588 /* Database filenames are double-zero terminated if they are not
37380 static int winCurrentTime(sqlite3_vfs *pVfs, double *prNow){
37480 /* Double-check that the aSyscall[] array has been constructed
61157 ** Convert a 64-bit IEEE double into a 64-bit signed integer.
61158 ** If the double is out of range of a 64-bit signed integer then
61161 static i64 doubleToInt64(double r){
61163 /* When floating-point is omitted, double and int64 are the same thing */
61176 if( r<=(double)minInt ){
61178 }else if( r>=(double)maxInt ){
61219 ** double. If pMem is already a double or an integer, return its
61220 ** value. If it is a string or blob, try to convert it to a double.
61223 SQLITE_PRIVATE double sqlite3VdbeRealValue(Mem *pMem){
61229 return (double)pMem->u.i;
61231 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
61232 double val = (double)0;
61236 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
61237 return (double)0;
61263 if( pMem->r==(double)pMem->u.i
61376 SQLITE_PRIVATE void sqlite3VdbeMemSetDouble(Mem *pMem, double val){
61857 pVal->r = (double)SMALLEST_INT64;
62319 ** operation (without SQLITE_TEST_REALLOC_STRESS) is to double the current
65236 static const double r1 = 1.0;
65518 double r1, r2;
65527 r1 = (double)pMem1->u.i;
65534 r2 = (double)pMem2->u.i;
65693 double rhs = (double)pRhs->u.i;
65719 double rhs = pRhs->r;
65720 double lhs;
65725 lhs = (double)mem1.u.i;
66395 SQLITE_API double sqlite3_value_double(sqlite3_value *pVal){
66485 SQLITE_API void sqlite3_result_double(sqlite3_context *pCtx, double rVal){
66991 = {0, "", (double)0, {0}, 0, MEM_Null, 0,
67079 SQLITE_API double sqlite3_column_double(sqlite3_stmt *pStmt, int i){
67080 double val = sqlite3_value_double( columnMem(pStmt,i) );
67361 SQLITE_API int sqlite3_bind_double(sqlite3_stmt *pStmt, int i, double rValue){
68135 double rValue;
69388 double rA; /* Real value of left operand */
69389 double rB; /* Real value of right operand */
69431 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
69432 if( rA==(double)0 ) goto arithmetic_result_is_null;
69441 rB = (double)(iB % iA);
71618 if( pIn3->r<(double)iKey ){
71627 else if( pIn3->r>(double)iKey ){
77213 ** supplied) and the value of Z is enclosed in double-quotes, then
77349 double r = -1.0;
78631 ** appear to be quoted. If the quotes were of the form "..." (double-quotes)
79504 ** For the purposes of this function, a double-quoted string (ex: "abc")
79527 ** For the purposes of this function, a double-quoted string (ex: "abc")
80364 double value;
87553 ** it is quoted using double-quotes.
91830 double rVal = sqlite3_value_double(argv[0]);
92014 double r;
92030 r = (double)((sqlite_int64)(r+0.5));
92032 r = -(double)((sqlite_int64)((-r)+0.5));
92594 double r1, r2;
93028 double rSum; /* Floating point sum */
93083 sqlite3_result_double(context, p->rSum/(double)p->cnt);
93089 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
93090 sqlite3_result_double(context, p ? p->rSum : (double)0);
97009 int (*bind_double)(sqlite3_stmt*,int,double);
97035 double (*column_double)(sqlite3_stmt*,int iCol);
97095 void (*result_double)(sqlite3_context*,double);
97124 double (*value_double)(sqlite3_value*);
115772 pIdxInfo->estimatedCost = SQLITE_BIG_DBL / (double)2;
121970 case '"': /* single- and double-quoted strings */
122405 double y;
126884 ** For a sequence of tokens contained in double-quotes (i.e. "one two three")
127602 ** Return a copy of input string zInput enclosed in double-quotes (") and
127603 ** with all double quote characters escaped. For example:
135086 ** Return TRUE if the word ends in a double consonant.
144812 typedef double RtreeDValue; /* High accuracy coordinate */
144898 ** formatted as a RtreeDValue (double or int64). This macro assumes that local
144907 ((double)coord.f) : \
144908 ((double)coord.i) \
145649 sqlite3_rtree_dbl val; /* Coordinate value convert to a double */
145693 RtreeDValue xN; /* Coordinate value converted to a double */
146378 pIdxInfo->estimatedCost = (double)6.0 * (double)nRow;
147408 ** Rounding constants for float->double conversion.
147419 double d = sqlite3_value_double(v);
147427 double d = sqlite3_value_double(v);
147929 (double)cell.aCoord[jj].f);