This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Math Exponential Functions

This class represents exponential functions.

Notice
Math exponential functions are the members of the Unigine::Math namespace.

float exp ( float v ) #

Returns e raised to the specified power (ev ).

Arguments

  • float v - Power.

Return value

e raised to the specified power (ev ).

double exp ( double v ) #

Returns e raised to the specified power (ev ).

Arguments

  • double v - Power.

Return value

e raised to the specified power (ev ).

float exp2 ( float v ) #

Returns 2 raised to the specified power (2v ).

Arguments

  • float v - Power.

Return value

2 raised to the specified power (2v ).

double exp2 ( double v ) #

Returns 2 raised to the specified power (2v ).

Arguments

  • double v - Power.

Return value

2 raised to the specified power (2v ).

float log ( float v ) #

Returns the natural logarithm of the argument.

Arguments

  • float v - Argument.

Return value

Natural logarithm of the argument.

double log ( double v ) #

Returns the natural logarithm of the argument.

Arguments

  • double v - Argument.

Return value

Natural logarithm of the argument.

float log10 ( float v ) #

Returns the base-10 logarithm of the argument.

Arguments

  • float v - Argument.

Return value

Base-10 logarithm of the argument.

double log10 ( double v ) #

Returns the base-10 logarithm of the argument.

Arguments

  • double v - Argument.

Return value

Base-10 logarithm of the argument.

float pow ( float x, float y ) #

Returns the argument raised to the specified power (xy ).

Arguments

  • float x - Argument.
  • float y - Power.

Return value

Argument raised to the specified power (xy ).

double pow ( double x, double y ) #

Returns the argument raised to the specified power (xy ).

Arguments

  • double x - Argument.
  • double y - Power.

Return value

Argument raised to the specified power (xy ).

double dsqrt ( double v ) #

Returns the square root of the argument.

Arguments

  • double v - Argument.

Return value

Square root of the argument.

float fsqrt ( float v ) #

Returns the square root of the argument.

Arguments

  • float v - Argument.

Return value

Square root of the argument.

float rsqrt ( float v ) #

Returns the inverted square root of the argument.

Arguments

  • float v - Argument.

Return value

Inverted square root of the argument.

double rsqrt ( double v ) #

Returns the inverted square root of the argument.

Arguments

  • double v - Argument.

Return value

Inverted square root of the argument.
Last update: 2019-08-16
Build: ()