VictoriaMetrics/vendor/golang.org/x/sys/cpu
Nikolay 8357c22cc8
app/vmselect: properly return binary pow function result (#7619)
Previously, for `^` aka pow function calls, VictoriaMetrics returned `1`
if left arg was Nan. For example, given query=`(hour()==2)^1` returns 1
for NaN produced by hour() == 2 function. It added additional non-exist
datapoints to the timeseries.

This commit port bugfix from `metricql` package and adds test for it.
Now, VictoriaMetrics
correctly returns `NaN` for such cases.

Related issue:
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7359

Signed-off-by: f41gh7 <nik@victoriametrics.com>
(cherry picked from commit bb399518db)
2024-11-21 15:23:49 +01:00
..
asm_aix_ppc64.s vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
asm_darwin_x86_gc.s app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
byteorder.go vendor: make vendor-update 2023-05-09 23:16:43 -07:00
cpu.go vendor: run make vendor-update 2024-09-08 21:05:23 +02:00
cpu_aix.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_arm.go vendor: make vendor-update 2023-05-09 23:16:43 -07:00
cpu_arm64.go lib/promscrape: fixes proxy autorization (#6783) 2024-08-19 22:50:39 +02:00
cpu_arm64.s vendor: run make vendor-update 2024-05-12 16:18:53 +02:00
cpu_darwin_x86.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
cpu_gc_arm64.go vendor: run make vendor-update 2024-05-12 16:18:53 +02:00
cpu_gc_s390x.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_gc_x86.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
cpu_gc_x86.s app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
cpu_gccgo_arm64.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_gccgo_s390x.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_gccgo_x86.c vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_gccgo_x86.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
cpu_linux.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_linux_arm.go vendor: make vendor-update 2023-05-09 23:16:43 -07:00
cpu_linux_arm64.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
cpu_linux_mips64x.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_linux_noinit.go vendor: run make vendor-update 2024-09-08 21:05:23 +02:00
cpu_linux_ppc64x.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_linux_riscv64.go vendor: run make vendor-update 2024-09-08 21:05:23 +02:00
cpu_linux_s390x.go vendor: make vendor-update 2023-05-09 23:16:43 -07:00
cpu_loong64.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_mips64x.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_mipsx.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_netbsd_arm64.go vendor: make vendor-update 2023-05-09 23:16:43 -07:00
cpu_openbsd_arm64.go vendor: make vendor-update 2023-05-09 23:16:43 -07:00
cpu_openbsd_arm64.s vendor: make vendor-update 2023-05-09 23:16:43 -07:00
cpu_other_arm.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_other_arm64.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_other_mips64x.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_other_ppc64x.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_other_riscv64.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_other_x86.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
cpu_ppc64x.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_riscv64.go vendor: run make vendor-update 2024-09-08 21:05:23 +02:00
cpu_s390x.go vendor: make vendor-update 2023-05-09 23:16:43 -07:00
cpu_s390x.s vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_wasm.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
cpu_x86.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
cpu_zos.go vendor: make vendor-update 2023-05-09 23:16:43 -07:00
cpu_zos_s390x.go vendor: make vendor-update 2023-05-09 23:16:43 -07:00
endian_big.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
endian_little.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
hwcap_linux.go vendor: run make vendor-update 2023-10-16 14:33:16 +02:00
parse.go vendor: make vendor-update 2023-05-09 23:16:43 -07:00
proc_cpuinfo_linux.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
runtime_auxv.go vendor: make vendor-update 2023-05-09 23:16:43 -07:00
runtime_auxv_go121.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
syscall_aix_gccgo.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
syscall_aix_ppc64_gc.go vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
syscall_darwin_x86_gc.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00