ref: 1cfb58e7b71eb6a4e455ffcaeb33d78156a978e2
parent: 662ba37996ba211e900bc60ea400f0f3b846ac60
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Mon Mar 13 18:31:05 EDT 2023
clarify conv_to_uint64 existence
--- a/operators.c
+++ b/operators.c
@@ -92,9 +92,9 @@
CONV_TO_INTTYPE(int32, int32_t)
CONV_TO_INTTYPE(uint32, uint32_t)
-// this is needed to work around a possible compiler bug
-// casting negative floats and doubles to uint64. you need
-// to cast to int64 first.
+// this is needed to work around an UB casting negative
+// floats and doubles to uint64. you need to cast to int64
+// first.
uint64_t conv_to_uint64(void *data, numerictype_t tag)
{
int64_t s;