0% found this document useful (0 votes)
21 views4 pages

Pig - Math Functions

The document provides a list of math functions available in Apache Pig, including descriptions of each function such as ABS, ACOS, and SIN. It covers various mathematical operations like logarithms, trigonometric functions, and rounding methods. Additionally, the document includes sections on tutorials, trending technologies, certifications, and online compilers related to programming.

Uploaded by

p46924471
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views4 pages

Pig - Math Functions

The document provides a list of math functions available in Apache Pig, including descriptions of each function such as ABS, ACOS, and SIN. It covers various mathematical operations like logarithms, trigonometric functions, and rounding methods. Additionally, the document includes sections on tutorials, trending technologies, certifications, and online compilers related to programming.

Uploaded by

p46924471
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Page 1 of 4

Apache Pig - Math Functions

We have the following Math functions in Apache Pig −

S.N. Functions & Description

ABS(expression)
1
To get the absolute value of an expression.

ACOS(expression)
2
To get the arc cosine of an expression.

ASIN(expression)
3
To get the arc sine of an expression.

ATAN(expression)
4
This function is used to get the arc tangent of an expression.

CBRT(expression)
5
This function is used to get the cube root of an expression.

CEIL(expression)
6
This function is used to get the value of an expression rounded up to the nearest integer.

COS(expression)
7
This function is used to get the trigonometric cosine of an expression.

8 COSH(expression)
Page 2 of 4

This function is used to get the hyperbolic cosine of an expression.

EXP(expression)
9
This function is used to get the Eulers number e raised to the power of x.

FLOOR(expression)
10
To get the value of an expression rounded down to the nearest integer.

LOG(expression)
11
To get the natural logarithm (base e) of an expression.

LOG10(expression)
12
To get the base 10 logarithm of an expression.

RANDOM( )
13
To get a pseudo random number (type double) greater than or equal to 0.0 and less than 1.0.

ROUND(expression)
14 To get the value of an expression rounded to an integer (if the result type is float) or rounded
to a long (if the result type is double).

SIN(expression)
15
To get the sine of an expression.

SINH(expression)
16
To get the hyperbolic sine of an expression.

SQRT(expression)
17
To get the positive square root of an expression.

TAN(expression)
18
To get the trigonometric tangent of an angle.

TANH(expression)
19
To get the hyperbolic tangent of an expression.

TOP TUTORIALS

Python Tutorial
Java Tutorial
C++ Tutorial
C Programming Tutorial

C# Tutorial
PHP Tutorial
Page 3 of 4

R Tutorial
HTML Tutorial
CSS Tutorial

JavaScript Tutorial
SQL Tutorial

TRENDING TECHNOLOGIES

Cloud Computing Tutorial


Amazon Web Services Tutorial
Microsoft Azure Tutorial

Git Tutorial
Ethical Hacking Tutorial
Docker Tutorial

Kubernetes Tutorial
DSA Tutorial
Spring Boot Tutorial
SDLC Tutorial

Unix Tutorial

CERTIFICATIONS

Business Analytics Certification


Java & Spring Boot Advanced Certification
Data Science Advanced Certification

Cloud Computing And DevOps


Advanced Certification In Business Analytics

Artificial Intelligence And Machine Learning

DevOps Certification
Game Development Certification

Front-End Developer Certification

AWS Certification Training


Python Programming Certification

COMPILERS & EDITORS

Online Java Compiler


Online Python Compiler

Online Go Compiler
Page 4 of 4

Online C Compiler

Online C++ Compiler


Online C# Compiler

Online PHP Compiler

Online MATLAB Compiler


Online Bash Terminal

Online SQL Compiler


Online Html Editor

ABOUT US | OUR TEAM | CAREERS | JOBS | CONTACT US | TERMS OF USE |

PRIVACY POLICY | REFUND POLICY | COOKIES POLICY | FAQ'S

Tutorials Point is a leading Ed Tech company striving to provide the best learning material on technical
and non-technical subjects.

© Copyright 2026. All Rights Reserved.


Home Whiteboard Graphing Calculator Online Compilers Practice Articles

Chapters Categories

You might also like