@@ -476,7 +476,7 @@ class InoxSerializer(val trees: ast.Trees, serializeProducts: Boolean = false) e
476
476
* The `Serializer[_]` identifiers in this mapping range from 10 to 105
477
477
* (ignoring special identifiers that are smaller than 10).
478
478
*
479
- * NEXT ID: 106
479
+ * NEXT ID: 109
480
480
*/
481
481
protected def classSerializers : Map [Class [? ], Serializer [? ]] = Map (
482
482
// Inox Expressions
@@ -550,6 +550,10 @@ class InoxSerializer(val trees: ast.Trees, serializeProducts: Boolean = false) e
550
550
classSerializer[MapUpdated ] (74 ),
551
551
classSerializer[BVUnsignedToSigned ](104 ),
552
552
classSerializer[BVSignedToUnsigned ](105 ),
553
+ // FPLiteral id=107
554
+ // Floating Point literals are treated specially to avoid having to serialize BitSets
555
+ mappingSerializer[FPLiteral ](107 )(fp => (fp.exponent, fp.significand, fp.value))(p => FPLiteral (p._1, p._2, p._3)),
556
+ classSerializer[FPEquals ] (108 ),
553
557
554
558
// Inox Types
555
559
classSerializer[Untyped .type ] (75 ),
@@ -571,6 +575,7 @@ class InoxSerializer(val trees: ast.Trees, serializeProducts: Boolean = false) e
571
575
classSerializer[RefinementType ](100 ),
572
576
classSerializer[PiType ] (101 ),
573
577
classSerializer[SigmaType ] (102 ),
578
+ classSerializer[FPType ] (106 ),
574
579
575
580
// Identifier
576
581
mappingSerializer[Identifier ](90 )
0 commit comments