mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
8 lines
7.3 KiB
XML
8 lines
7.3 KiB
XML
<test>
|
|
<query>
|
|
SELECT count() FROM numbers(10000000) WHERE NOT ignore(
|
|
pointInPolygon((1 / (number % 123), 2 / (number % 1000)),
|
|
[(1,0),(0.9993908270190958,0.03489949670250097),(0.9975640502598242,0.0697564737441253),(0.9945218953682733,0.10452846326765346),(0.9902680687415704,0.13917310096006544),(0.984807753012208,0.17364817766693033),(0.9781476007338057,0.20791169081775931),(0.9702957262759965,0.24192189559966773),(0.9612616959383189,0.27563735581699916),(0.9510565162951535,0.3090169943749474),(0.9396926207859084,0.3420201433256687),(0.9271838545667874,0.374606593415912),(0.9135454576426009,0.40673664307580015),(0.898794046299167,0.4383711467890774),(0.882947592858927,0.4694715627858908),(0.8660254037844387,0.49999999999999994),(0.848048096156426,0.5299192642332049),(0.8290375725550417,0.5591929034707468),(0.8090169943749475,0.5877852522924731),(0.7880107536067219,0.6156614753256583),(0.766044443118978,0.6427876096865393),(0.7431448254773942,0.6691306063588582),(0.7193398003386512,0.6946583704589973),(0.6946583704589974,0.7193398003386511),(0.6691306063588582,0.7431448254773941),(0.6427876096865394,0.766044443118978),(0.6156614753256583,0.7880107536067219),(0.5877852522924731,0.8090169943749475),(0.5591929034707468,0.8290375725550417),(0.5299192642332049,0.848048096156426),(0.5000000000000001,0.8660254037844386),(0.46947156278589086,0.8829475928589269),(0.43837114678907746,0.898794046299167),(0.4067366430758004,0.9135454576426009),(0.3746065934159122,0.9271838545667873),(0.3420201433256688,0.9396926207859083),(0.30901699437494745,0.9510565162951535),(0.27563735581699916,0.9612616959383189),(0.24192189559966767,0.9702957262759965),(0.20791169081775923,0.9781476007338057),(0.17364817766693041,0.984807753012208),(0.13917310096006547,0.9902680687415704),(0.10452846326765346,0.9945218953682733),(0.06975647374412523,0.9975640502598242),(0.03489949670250108,0.9993908270190958),(6.123233995736766e-17,1),(-0.03489949670250073,0.9993908270190958),(-0.06975647374412533,0.9975640502598242),(-0.10452846326765333,0.9945218953682734),(-0.13917310096006513,0.9902680687415704),(-0.1736481776669303,0.984807753012208),(-0.20791169081775912,0.9781476007338057),(-0.24192189559966756,0.9702957262759965),(-0.27563735581699905,0.9612616959383189),(-0.30901699437494734,0.9510565162951536),(-0.3420201433256687,0.9396926207859084),(-0.37460659341591207,0.9271838545667874),(-0.40673664307580004,0.913545457642601),(-0.4383711467890775,0.8987940462991669),(-0.46947156278589053,0.8829475928589271),(-0.4999999999999998,0.8660254037844387),(-0.5299192642332048,0.8480480961564261),(-0.5591929034707467,0.8290375725550417),(-0.587785252292473,0.8090169943749475),(-0.6156614753256583,0.788010753606722),(-0.6427876096865394,0.766044443118978),(-0.6691306063588579,0.7431448254773945),(-0.6946583704589974,0.7193398003386511),(-0.719339800338651,0.6946583704589975),(-0.7431448254773944,0.669130606358858),(-0.7660444431189779,0.6427876096865395),(-0.7880107536067219,0.6156614753256584),(-0.8090169943749473,0.5877852522924732),(-0.8290375725550416,0.5591929034707469),(-0.848048096156426,0.5299192642332049),(-0.8660254037844387,0.49999999999999994),(-0.882947592858927,0.4694715627858907),(-0.8987940462991668,0.4383711467890777),(-0.913545457642601,0.40673664307580004),(-0.9271838545667873,0.37460659341591224),(-0.9396926207859083,0.3420201433256689),(-0.9510565162951535,0.3090169943749475),(-0.9612616959383189,0.2756373558169992),(-0.9702957262759965,0.24192189559966773),(-0.9781476007338057,0.20791169081775931),(-0.984807753012208,0.1736481776669307),(-0.9902680687415704,0.13917310096006533),(-0.9945218953682733,0.10452846326765373),(-0.9975640502598242,0.06975647374412552),(-0.9993908270190958,0.03489949670250114),(-1,1.2246467991473532e-16),(-0.9993908270190958,-0.0348994967025009),(-0.9975640502598243,-0.06975647374412483),(-0.9945218953682733,-0.1045284632676535),(-0.9902680687415703,-0.13917310096006552),(-0.984807753012208,-0.17364817766693047),(-0.9781476007338057,-0.20791169081775907),(-0.9702957262759965,-0.2419218955996675),(-0.961261695938319,-0.2756373558169986),(-0.9510565162951535,-0.30901699437494773),(-0.9396926207859084,-0.34202014332566866),(-0.9271838545667874,-0.374606593415912),(-0.9135454576426011,-0.4067366430757998),(-0.8987940462991671,-0.43837114678907707),(-0.8829475928589271,-0.4694715627858905),(-0.8660254037844386,-0.5000000000000001),(-0.8480480961564261,-0.5299192642332048),(-0.8290375725550418,-0.5591929034707467),(-0.8090169943749476,-0.587785252292473),(-0.7880107536067222,-0.6156614753256578),(-0.766044443118978,-0.6427876096865393),(-0.7431448254773942,-0.6691306063588582),(-0.7193398003386511,-0.6946583704589974),(-0.6946583704589976,-0.7193398003386509),(-0.6691306063588585,-0.743144825477394),(-0.6427876096865395,-0.7660444431189779),(-0.6156614753256581,-0.7880107536067221),(-0.5877852522924732,-0.8090169943749473),(-0.5591929034707472,-0.8290375725550414),(-0.529919264233205,-0.848048096156426),(-0.5000000000000004,-0.8660254037844384),(-0.46947156278589075,-0.882947592858927),(-0.43837114678907774,-0.8987940462991668),(-0.4067366430758001,-0.913545457642601),(-0.3746065934159123,-0.9271838545667873),(-0.3420201433256694,-0.9396926207859082),(-0.30901699437494756,-0.9510565162951535),(-0.2756373558169989,-0.961261695938319),(-0.24192189559966779,-0.9702957262759965),(-0.2079116908177598,-0.9781476007338056),(-0.17364817766693033,-0.984807753012208),(-0.13917310096006583,-0.9902680687415703),(-0.10452846326765423,-0.9945218953682733),(-0.06975647374412558,-0.9975640502598242),(-0.03489949670250076,-0.9993908270190958),(-1.8369701987210297e-16,-1),(0.03489949670250039,-0.9993908270190958),(0.06975647374412522,-0.9975640502598243),(0.10452846326765387,-0.9945218953682733),(0.13917310096006547,-0.9902680687415704),(0.17364817766692997,-0.9848077530122081),(0.20791169081775943,-0.9781476007338056),(0.24192189559966745,-0.9702957262759966),(0.2756373558169985,-0.961261695938319),(0.30901699437494723,-0.9510565162951536),(0.342020143325669,-0.9396926207859083),(0.37460659341591196,-0.9271838545667874),(0.40673664307579976,-0.9135454576426011),(0.4383711467890774,-0.898794046299167),(0.4694715627858904,-0.8829475928589271),(0.5000000000000001,-0.8660254037844386),(0.5299192642332047,-0.8480480961564262),(0.559192903470747,-0.8290375725550416),(0.5877852522924729,-0.8090169943749476),(0.6156614753256578,-0.7880107536067223),(0.6427876096865393,-0.7660444431189781),(0.6691306063588585,-0.743144825477394),(0.6946583704589973,-0.7193398003386512),(0.7193398003386509,-0.6946583704589976),(0.7431448254773937,-0.6691306063588588),(0.7660444431189778,-0.6427876096865396),(0.788010753606722,-0.6156614753256582),(0.8090169943749473,-0.5877852522924734),(0.8290375725550414,-0.5591929034707473),(0.848048096156426,-0.529919264233205),(0.8660254037844384,-0.5000000000000004),(0.8829475928589269,-0.4694715627858908),(0.8987940462991668,-0.4383711467890778),(0.913545457642601,-0.40673664307580015),(0.9271838545667873,-0.37460659341591235),(0.9396926207859081,-0.34202014332566943),(0.9510565162951535,-0.3090169943749476),(0.9612616959383189,-0.27563735581699894),(0.9702957262759965,-0.24192189559966787),(0.9781476007338056,-0.20791169081775987),(0.984807753012208,-0.1736481776669304),(0.9902680687415703,-0.13917310096006588),(0.9945218953682733,-0.1045284632676543),(0.9975640502598242,-0.06975647374412564),(0.9993908270190958,-0.034899496702500823)]))
|
|
</query>
|
|
</test>
|