VictoriaMetrics/vendor/golang.org/x/sys/cpu
Nikolay bb399518db
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>
2024-11-21 15:16:28 +01:00
..
asm_aix_ppc64.s vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
asm_darwin_x86_gc.s app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:16:28 +01:00
byteorder.go vendor: make vendor-update 2023-05-09 23:13:50 -07:00
cpu.go vendor: run make vendor-update 2024-09-08 21:05:06 +02:00
cpu_aix.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_arm.go vendor: make vendor-update 2023-05-09 23:13:50 -07:00
cpu_arm64.go lib/promscrape: fixes proxy autorization (#6783) 2024-08-19 22:31:18 +02:00
cpu_arm64.s vendor: run make vendor-update 2024-05-12 16:17:38 +02:00
cpu_darwin_x86.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:16:28 +01:00
cpu_gc_arm64.go vendor: run make vendor-update 2024-05-12 16:17:38 +02:00
cpu_gc_s390x.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_gc_x86.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:16:28 +01:00
cpu_gc_x86.s app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:16:28 +01:00
cpu_gccgo_arm64.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_gccgo_s390x.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_gccgo_x86.c vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_gccgo_x86.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:16:28 +01:00
cpu_linux.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_linux_arm.go vendor: make vendor-update 2023-05-09 23:13:50 -07:00
cpu_linux_arm64.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:16:28 +01:00
cpu_linux_mips64x.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_linux_noinit.go vendor: run make vendor-update 2024-09-08 21:05:06 +02:00
cpu_linux_ppc64x.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_linux_riscv64.go vendor: run make vendor-update 2024-09-08 21:05:06 +02:00
cpu_linux_s390x.go vendor: make vendor-update 2023-05-09 23:13:50 -07:00
cpu_loong64.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_mips64x.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_mipsx.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_netbsd_arm64.go vendor: make vendor-update 2023-05-09 23:13:50 -07:00
cpu_openbsd_arm64.go vendor: make vendor-update 2023-05-09 23:13:50 -07:00
cpu_openbsd_arm64.s vendor: make vendor-update 2023-05-09 23:13:50 -07:00
cpu_other_arm.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_other_arm64.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_other_mips64x.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_other_ppc64x.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_other_riscv64.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_other_x86.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:16:28 +01:00
cpu_ppc64x.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_riscv64.go vendor: run make vendor-update 2024-09-08 21:05:06 +02:00
cpu_s390x.go vendor: make vendor-update 2023-05-09 23:13:50 -07:00
cpu_s390x.s vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_wasm.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
cpu_x86.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:16:28 +01:00
cpu_zos.go vendor: make vendor-update 2023-05-09 23:13:50 -07:00
cpu_zos_s390x.go vendor: make vendor-update 2023-05-09 23:13:50 -07:00
endian_big.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
endian_little.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
hwcap_linux.go vendor: run make vendor-update 2023-10-12 11:17:53 +02:00
parse.go vendor: make vendor-update 2023-05-09 23:13:50 -07:00
proc_cpuinfo_linux.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
runtime_auxv.go vendor: make vendor-update 2023-05-09 23:13:50 -07:00
runtime_auxv_go121.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
syscall_aix_gccgo.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
syscall_aix_ppc64_gc.go vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
syscall_darwin_x86_gc.go app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:16:28 +01:00