@@ -38,7 +38,7 @@ type t =
38
38
| Mixed8 of float * int32 # * float # * int64 # * float #
39
39
| Mixed9 of float * float # * float32 #
40
40
| Mixed10 of float * float32 # * float # * int64 # * float #
41
- | Mixed11 of float * int32 # * float32 # * float # * int64 # * float #
41
+ | Mixed11 of float * int32 # * float32 # * float # * int64 # * nativeint #
42
42
| Uniform2 of float * float
43
43
44
44
type t_ext = ..
@@ -54,7 +54,7 @@ type t_ext +=
54
54
| Ext_mixed8 of float * int32 # * float # * int64 # * float #
55
55
| Ext_mixed9 of float * float # * float32 #
56
56
| Ext_mixed10 of float * float32 # * float # * int64 # * float #
57
- | Ext_mixed11 of float * int32 # * float32 # * float # * int64 # * float #
57
+ | Ext_mixed11 of float * int32 # * float32 # * float # * int64 # * nativeint #
58
58
59
59
let sprintf = Printf. sprintf
60
60
@@ -91,9 +91,9 @@ let to_string = function
91
91
x1 (Float_u. to_float (Float32_u. to_float x2)) (Float_u. to_float x3)
92
92
(Int64_u. to_int x4) (Float_u. to_float x5)
93
93
| Mixed11 (x1 , x2 , x3 , x4 , x5 , x6 ) ->
94
- sprintf " Mixed11 (%f, %i, %f, %f, %i, %f )"
94
+ sprintf " Mixed11 (%f, %i, %f, %f, %i, %i )"
95
95
x1 (Int32_u. to_int x2) (Float_u. to_float (Float32_u. to_float x3))
96
- (Float_u. to_float x4) (Int64_u. to_int x5) (Float_u. to_float x6)
96
+ (Float_u. to_float x4) (Int64_u. to_int x5) (Nativeint_u. to_int x6)
97
97
| Uniform2 (x1 , x2 ) -> sprintf " Uniform2 (%f, %f)" x1 x2
98
98
99
99
let ext_to_string = function
@@ -127,9 +127,9 @@ let ext_to_string = function
127
127
x1 (Float_u. to_float (Float32_u. to_float x2)) (Float_u. to_float x3)
128
128
(Int64_u. to_int x4) (Float_u. to_float x5)
129
129
| Ext_mixed11 (x1 , x2 , x3 , x4 , x5 , x6 ) ->
130
- sprintf " Ext_mixed11 (%f, %i, %f, %f, %i, %f )"
130
+ sprintf " Ext_mixed11 (%f, %i, %f, %f, %i, %i )"
131
131
x1 (Int32_u. to_int x2) (Float_u. to_float (Float32_u. to_float x3))
132
- (Float_u. to_float x4) (Int64_u. to_int x5) (Float_u. to_float x6)
132
+ (Float_u. to_float x4) (Int64_u. to_int x5) (Nativeint_u. to_int x6)
133
133
| _ -> " <ext>"
134
134
135
135
let print t = print_endline (" " ^ to_string t)
@@ -176,7 +176,7 @@ let construct_and_destruct uf uf' f f' i i32 i64 i_n f32 =
176
176
let Mixed8 (f, i32, uf, i64, uf') = Mixed8 (f, i32, uf, i64, uf') in
177
177
let Mixed9 (f, uf, f32) = Mixed9 (f, uf, f32) in
178
178
let Mixed10 (f, f32, uf, i64, uf') = Mixed10 (f, f32, uf, i64, uf') in
179
- let Mixed11 (f, i32, f32, uf, i64, uf' ) = Mixed11 (f, i32, f32, uf, i64, uf' ) in
179
+ let Mixed11 (f, i32, f32, uf, i64, i_n ) = Mixed11 (f, i32, f32, uf, i64, i_n ) in
180
180
let Ext_mixed1 uf = Ext_mixed1 uf in
181
181
let Ext_mixed2 (f, uf) = Ext_mixed2 (f, uf) in
182
182
let Ext_mixed3 (f, uf, uf') = Ext_mixed3 (f, uf, uf') in
@@ -187,7 +187,7 @@ let construct_and_destruct uf uf' f f' i i32 i64 i_n f32 =
187
187
let Ext_mixed8 (f, i32, uf, i64, uf') = Ext_mixed8 (f, i32, uf, i64, uf') in
188
188
let Ext_mixed9 (f, uf, f32) = Ext_mixed9 (f, uf, f32) in
189
189
let Ext_mixed10 (f, f32, uf, i64, uf') = Ext_mixed10 (f, f32, uf, i64, uf') in
190
- let Ext_mixed11 (f, i32, f32, uf, i64, uf' ) = Ext_mixed11 (f, i32, f32, uf, i64, uf' ) in
190
+ let Ext_mixed11 (f, i32, f32, uf, i64, i_n ) = Ext_mixed11 (f, i32, f32, uf, i64, i_n ) in
191
191
let Uniform2 (f, f') = Uniform2 (f, f') in
192
192
sum uf uf' f f' i i32 i64 i_n f32
193
193
[@@ ocaml.warning " -partial-match" ]
0 commit comments