math.functions: flushable and foldable don't do anything on inline words because flushable and foldable work on call sites (#call nodes), and inlined words are inlined into another word's call site; they don't generate their own #call node.

db4
Doug Coleman 2011-11-06 19:25:53 -08:00
parent 9048233d27
commit 60f928ddbf
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ PRIVATE>
: nth-root ( n x -- y ) swap recip ^ ; inline
: gcd ( x y -- a d )
[ 0 1 ] 2dip (gcd) dup 0 < [ neg ] when ; foldable inline
[ 0 1 ] 2dip (gcd) dup 0 < [ neg ] when ; inline
: lcm ( a b -- c )
[ * ] 2keep gcd nip /i ; foldable