Skip to content

Commit e4cdb67

Browse files
committed
atan2() example
1 parent dd6a8e7 commit e4cdb67

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ If argument has `deg` unit, converted to `rad`.
103103
* `atan($x)` - Arctangent (逆正接)
104104
* `atan2($y, $x)` - Arctangent of the quotient of its arguments (引数の比率での逆正接)
105105

106+
```scss
107+
@debug atan2(0, 0); // 0
108+
@debug atan2(0, -0.0); // 3.14159
109+
@debug atan2(-0.0, 0); // 0
110+
@debug atan2(-0.0, -0.0); // -3.14159
111+
```
106112

107113
### Helper functions
108114

0 commit comments

Comments
 (0)