Skip to content

Commit

Permalink
Do not talk about double unless we have to.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Jan 8, 2024
1 parent 43d823d commit 76ce88d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rts/c/scalar.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
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 double futrts_from_bits64(int64_t x);

SCALAR_FUN_ATTR uint8_t add8(uint8_t x, uint8_t y) {
return x + y;
Expand Down Expand Up @@ -2305,6 +2304,8 @@ SCALAR_FUN_ATTR float fsignum32(float x) {

#ifdef FUTHARK_F64_ENABLED

SCALAR_FUN_ATTR double futrts_from_bits64(int64_t x);

#if ISPC
SCALAR_FUN_ATTR bool futrts_isinf64(float x) {
return !isnan(x) && isnan(x - x);
Expand Down

0 comments on commit 76ce88d

Please sign in to comment.