Skip to content

Power Tile#


alt text A tile used to rise a numeric value to the power of another.

Description#

Description

  • Returns the result of the X ^ Y operation
  • X and Y default to 0 if not wired, or a conversion to float could not be made

Inputs#

X#

Info
  • Type
    Numeric value defaults to 0
    
    Accepted types: Integer, Float, String
    
  • Usage
    Wire any tile that returns a numeric or string value that does not include letters or special characters
    
    Any error will deafult the value to 0
    

Y#

Info
  • Type
    Numeric value defaults to 0
    
    Accepted types: Integer, Float, String
    
  • Usage
    Wire any tile that returns a numeric or string value that does not include letters or special characters
    
    Any error will deafult the value to 0
    

Output#

X ^ Y#

Info
  • Return
    Float defaults to 0
    
  • Usage
    Will return the result of the operation
    

Real Signature#

Signature

  • A plain language description of the function associated with the tile
    def power(x, y):
        return x ** y