Skip to content

Commit

Permalink
Really don't talk about double unless needed (#2075)
Browse files Browse the repository at this point in the history
Co-authored-by: dcz <gilaac.dcz@porcupinefactory.org>
  • Loading branch information
dcz-self and dcz authored Jan 8, 2024
1 parent 76ce88d commit f186ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/c/scalar.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
// macro FUTHARK_F64_ENABLED is set.

SCALAR_FUN_ATTR int32_t futrts_to_bits32(float x);
SCALAR_FUN_ATTR int64_t futrts_to_bits64(double x);
SCALAR_FUN_ATTR float futrts_from_bits32(int32_t x);

SCALAR_FUN_ATTR uint8_t add8(uint8_t x, uint8_t y) {
Expand Down Expand Up @@ -2305,6 +2304,7 @@ SCALAR_FUN_ATTR float fsignum32(float x) {
#ifdef FUTHARK_F64_ENABLED

SCALAR_FUN_ATTR double futrts_from_bits64(int64_t x);
SCALAR_FUN_ATTR int64_t futrts_to_bits64(double x);

#if ISPC
SCALAR_FUN_ATTR bool futrts_isinf64(float x) {
Expand Down

0 comments on commit f186ac6

Please sign in to comment.