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.
parent
9048233d27
commit
60f928ddbf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue