@@ -15,7 +15,7 @@ class Cast from to where
1515instance Cast String Int where
1616 cast = prim__fromStrInt
1717
18−instance Cast String Float where
18+instance Cast String Double where
1919 cast = prim__strToFloat
2020
2121instance Cast String Integer where
@@ -26,25 +26,31 @@ instance Cast String Integer where
2626instance Cast Int String where
2727 cast = prim__toStrInt
2828
29−instance Cast Int Float where
29+instance Cast Int Double where
3030 cast = prim__toFloatInt
3131
3232instance Cast Int Integer where
3333 cast = prim__sextInt_BigInt
3434
35−-- Float casts
35+-- Double casts
3636
37−instance Cast Float String where
37+instance Cast Double String where
3838 cast = prim__floatToStr
3939
40−instance Cast Float Int where
40+instance Cast Double Int where
4141 cast = prim__fromFloatInt
4242
43+instance Cast Double Integer where
44+ cast = prim__fromFloatBigInt
45+
4346-- Integer casts
4447
4548instance Cast Integer String where
4649 cast = prim__toStrBigInt
4750
51+instance Cast Integer Double where
52+ cast = prim__toFloatBigInt
53+
4854-- Char casts
4955
5056instance Cast Char Int where