1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2025-04-21 12:27:27 +03:00

Added functions sin(), cos(), and sqrt().

git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5732 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner
2009-12-01 12:43:59 +00:00
parent 9cd195bf5b
commit 6f2dc7fb0b
5 changed files with 108 additions and 4 deletions

11
README
View File

@@ -438,9 +438,18 @@ Expressions
-----------
Expressions can contain numeric constants (in non-exponential notation),
variable names, the arithmetic operations +, -, *, /, and unary -.
variable names, the arithmetic operations +, -, *, /, unary -, and the
functions sin(), cos(), and sqrt().
Parentheses can be used to change precedence.
The argument of sin and cos is a dimensionless number that specifies the
angle in degrees. E.g., sin(90) yields 1.
The argument of sqrt() can be dimensionless or have a dimension with an
exponent that's a multiple of two. E.g., sqrt(2) and sqrt(2mm*3mm) are
valid expressions, sqrt(2mm) isn't.
GUI
---