File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ pub mod trig_functions {
281281 /// assert_eq(csc(-pi/2), -1.0)
282282 /// ```
283283 /// ```typescript
284- /// assert_eq(csc(0.0), 1.0/0.0 )
284+ /// assert_eq(csc(0.0), inf )
285285 /// ```
286286 /// ```typescript
287287 /// assert_eq(csc(pi/2), 1.0)
@@ -296,7 +296,7 @@ pub mod trig_functions {
296296 /// assert_eq(cscd(-90.0), -1.0)
297297 /// ```
298298 /// ```typescript
299- /// assert_eq(cscd(0.0), 1.0/0.0 )
299+ /// assert_eq(cscd(0.0), inf )
300300 /// ```
301301 /// ```typescript
302302 /// assert_eq(cscd(90.0), 1.0)
@@ -311,7 +311,7 @@ pub mod trig_functions {
311311 /// assert_eq(acsc(-1.0), -pi/2)
312312 /// ```
313313 /// ```typescript
314- /// assert_eq(acsc(1.0/0.0 ), 0.0)
314+ /// assert_eq(acsc(inf ), 0.0)
315315 /// ```
316316 /// ```typescript
317317 /// assert_eq(acsc(1.0), pi/2)
You can’t perform that action at this time.
0 commit comments