@@ -557,6 +557,8 @@ doOp v (LTrunc (ITFixed from) ITNative) [x]
557557 = v ++ "MKINT((i_int)" ++ creg x ++ "->info.bits" ++ show (nativeTyWidth from) ++ ")"
558558doOp v (LTrunc (ITFixed from) ITChar) [x]
559559 = doOp v (LTrunc (ITFixed from) ITNative) [x]
560+doOp v (LTrunc ITBig (ITFixed IT64)) [x]
561+ = v ++ "idris_b64const(vm, ISINT(" ++ creg x ++ ") ? GETINT(" ++ creg x ++ ") : idris_truncBigB64(GETMPZ(" ++ creg x ++ ")))"
560562doOp v (LTrunc ITBig (ITFixed to)) [x]
561563 = v ++ "idris_b" ++ show (nativeTyWidth to) ++ "const(vm, ISINT(" ++ creg x ++ ") ? GETINT(" ++ creg x ++ ") : mpz_get_ui(GETMPZ(" ++ creg x ++ ")))"
562564doOp v (LTrunc (ITFixed from) (ITFixed to)) [x]