File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
sycl/doc/extensions/Bf16Conversion Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -145,15 +145,15 @@ public:
145
145
operator storage_t() const;
146
146
147
147
// Convert to bool type
148
- explicit operator bool()
148
+ explicit operator bool();
149
149
150
- friend bfloat16 operator-() { /* ... */ }
150
+ friend bfloat16 operator-(bfloat16 &bf ) { /* ... */ }
151
151
152
152
// OP is: prefix ++, --
153
- friend bfloat16 &operatorOP() { /* ... */ }
153
+ friend bfloat16 &operatorOP(bfloat16 &bf ) { /* ... */ }
154
154
155
155
// OP is: postfix ++, --
156
- friend bfloat16 operatorOP(int) { /* ... */ }
156
+ friend bfloat16 operatorOP(bfloat16 &bf, int) { /* ... */ }
157
157
158
158
// OP is: +=, -=, *=, /=
159
159
friend bfloat16 &operatorOP(bfloat16 &lhs, const bfloat16 &rhs) { /* ... */ }
@@ -189,7 +189,7 @@ Table 1. Member functions of `bfloat16` class.
189
189
| `static float to_float(const storage_t &a);`
190
190
| Interpret `a` as `bfloat16` and explicitly convert it to `float`.
191
191
192
- | `bfloat16(const storage_t& a)`
192
+ | `bfloat16(const storage_t& a); `
193
193
| Initialize with an integer value which is interpreted as a `bfloat16` type.
194
194
195
195
| `bfloat16(const float& a);`
You can’t perform that action at this time.
0 commit comments