-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://patches.synfig.org/r/18/
-----------------------------------------------------------

(Updated 2009-03-31 22:02:46.769631)


Review request for Synfig.


Summary (updated)
-------

New ValueNode type: Power (valuenode_pow):
Attributes: base, power, epsilon, infinite
Function: returns base^power
Fractional and negative powers are supported, so this ValueNode type can also 
do square roots, reciprocals, etc.

Note that I implemented this type in error-free mode. That is, the node gives 
an output even if the operation is undefined. (This appears to be the accepted 
standard.) The special definitions are:
1. 0^-x is "+/- infinite"
2. If a negative base is raised to a noninteger power, the power is rounded 
(typecast) to an integer


Diffs
-----

  /synfig-core/trunk/src/synfig/Makefile.am 2355 
  /synfig-core/trunk/src/synfig/valuenode.cpp 2355 
  /synfig-core/trunk/src/synfig/valuenode_pow.h PRE-CREATION 
  /synfig-core/trunk/src/synfig/valuenode_pow.cpp PRE-CREATION 

Diff: http://patches.synfig.org/r/18/diff


Testing
-------

Compiles & runs. All features work as planned, but the way undefined outputs 
are treated may need to be revised.


Thanks,

nikitakit


------------------------------------------------------------------------------
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to