SQLite

Check-in [4173819cd2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Only run atof1.test on x86_64 machines.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4173819cd285a1c133645eda27b9f6dc5a2247eaa0c834bdc60058ef3109b102
User & Date: drh 2022-03-10 11:48:16.021
Context
2022-03-10
16:01
Refactor Window.pFunc into Window.pWFunc to disambiguate from other uses of the variable or field named "pFunc". (check-in: d9475ebcde user: drh tags: trunk)
11:48
Only run atof1.test on x86_64 machines. (check-in: 4173819cd2 user: drh tags: trunk)
02:23
Mention that sqlite3_column_text16() returns have native endianness (check-in: 25b7f88fcb user: larrybr tags: trunk)
Changes
Side-by-Side Diff Ignore Whitespace Patch
Changes to test/atof1.test.
14
15
16
17
18
19
20




21
22
23
24
25
26
27
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31







+
+
+
+








set testdir [file dirname $argv0]
source $testdir/tester.tcl

if {$::longdouble_size<=8} {
  finish_test
  return
}
if {$::tcl_platform(machine)!="x86_64"} {
  finish_test
  return
}

expr srand(1)
for {set i 1} {$i<20000} {incr i} {
  set pow [expr {int((rand()-0.5)*100)}]
  set x [expr {pow((rand()-0.5)*2*rand(),$pow)}]
  set xf [format %.32e $x]