Skip to content

Commit 6edb94e

Browse files
authored
Merge pull request #3975 from mtzguido/size_t_nit
FStar.SizeT: add missing (/^) operator, also mark them inline
2 parents 895af4f + 0f66eee commit 6edb94e

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

ulib/FStar.SizeT.fsti

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -172,16 +172,17 @@ val lte (x y: t) : Pure bool
172172

173173
(** Infix notations *)
174174

175-
unfold let ( +^ ) = add
176-
unfold let ( -^ ) = sub
177-
unfold let ( *^ ) = mul
178-
unfold let ( %^ ) = rem
179-
unfold let ( =^ ) = eq
180-
unfold let ( <>^ ) = ne
181-
unfold let ( >^ ) = gt
182-
unfold let ( >=^ ) = gte
183-
unfold let ( <^ ) = lt
184-
unfold let ( <=^ ) = lte
175+
inline_for_extraction unfold let ( +^ ) = add
176+
inline_for_extraction unfold let ( -^ ) = sub
177+
inline_for_extraction unfold let ( *^ ) = mul
178+
inline_for_extraction unfold let ( /^ ) = div
179+
inline_for_extraction unfold let ( %^ ) = rem
180+
inline_for_extraction unfold let ( =^ ) = eq
181+
inline_for_extraction unfold let ( <>^ ) = ne
182+
inline_for_extraction unfold let ( >^ ) = gt
183+
inline_for_extraction unfold let ( >=^ ) = gte
184+
inline_for_extraction unfold let ( <^ ) = lt
185+
inline_for_extraction unfold let ( <=^ ) = lte
185186

186187
//This private primitive is used internally by the
187188
//compiler to translate bounded integer constants

0 commit comments

Comments
 (0)