Fixed radians and steradians to be unitless

release
Daniel Ehrenberg 2007-11-29 12:19:57 -05:00
parent 374a661975
commit 33fecfef7d
1 changed files with 5 additions and 2 deletions

View File

@ -38,8 +38,11 @@ IN: units.si
: cd/m^2 { cd } { m m } <dimensioned> ;
: kg/kg { kg } { kg } <dimensioned> ;
: radians ( n -- radian ) { m } { m } <dimensioned> ;
: sr ( n -- steradian ) { m m } { m m } <dimensioned> ;
! Radians are really m/m, and steradians are m^2/m^2
! but they need to be in reduced form here.
: radians ( n -- radian ) scalar ;
: sr ( n -- steradian ) scalar ;
: Hz ( n -- hertz ) { } { s } <dimensioned> ;
: N ( n -- newton ) { kg m } { s s } <dimensioned> ;
: Pa ( n -- pascal ) { kg } { m s s } <dimensioned> ;