DEV Community

Talha Munir πŸ‡΅πŸ‡Έ
Talha Munir πŸ‡΅πŸ‡Έ

Posted on

Key take aways from the article of functions

Previously we had discussed numeric and logarithmic function in age.
In this blog we will discuss some of the conditions of the numeric and logarithmic functions.

Numeric Functions:

  • In absolute function i.e. abs():
    -- The abs(null) will always return null.
    -- If the expression inside the absolute function is negative, -(expression) the returned value would be the negation of the expression.

  • In ceiling function i.e. ceil():
    -- The ceil(null) will always return null.

  • In floor function i.e. floor():
    -- The floor(null) will always return null.

  • In round function i.e. round():
    -- The round(null) will always return null.

  • In sign function i.e. sign():
    -- The sign(null) will always returns null.

Logarithmic functions:

  • In exponential function i.e. exp():
    -- The function exp(null) will always return null.

  • In base e logarithmic function log():
    -- The function log(null) will always return null.
    -- The function log(0) will also return null.

  • In base 10 logarithmic function log10():
    -- The function log10(null) will always return null.
    -- The function log10(0) will also return null.

References:

You can view more on GitHub and documentation of Apache age by following these links:

  1. https://age.apache.org/age-manual/master/intro/overview.html
  2. https://github.com/apache/age
  3. https://dev.to/talhahahae/numeric-functions-in-apache-age-34ga
  4. https://dev.to/talhahahae/logarithmic-functions-1nbl

Top comments (0)