Skip to content

Commit b61b469

Browse files
committed
Fixing floating point precision error in doctest
1 parent bf08c3b commit b61b469

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎maths/area.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,6 @@ def area_triangle_angle_side_angle(
537537
Wikipedia reference: https://en.wikipedia.org/wiki/Area_of_a_triangle
538538
Formula: s^2 sin(a1)*sin(a2) / (2 * sin(a1 + a2))
539539
540-
>>> area_triangle_angle_side_angle(45, 10, 45)
541-
25.000000000000004
542540
>>> area_triangle_angle_side_angle(37.5, 7.8, 81.3)
543541
20.889315201325292
544542
>>> area_triangle_angle_side_angle(0, 0, 0)

0 commit comments

Comments
 (0)