summaryrefslogtreecommitdiff
path: root/libraries/ghc-prim/cbits/word2float.c
blob: 2ca7feacf975247f08e5510bbc8c2050e3ac14bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "Rts.h"

extern StgFloat hs_word2float32(StgWord x);
StgFloat
hs_word2float32(StgWord x)
{
  return x;
}

extern StgDouble hs_word2float64(StgWord x);
StgDouble
hs_word2float64(StgWord x)
{
  return x;
}