Course Content

  • math-header

Course Content


Function Description
floor(x) rounds x to largest integer not greater than x
pow(x,y) x raised to power y (xy)
fmod(x) remainder of x/y as floating-point number
sin(x) sine of x (x in radian)

math. h — Floating-point math functions nan() , nanf() , and nanl() functions are supported under IEEE only. For the C99 math functions, it is required to define the feature test macro _ISO_C99_SOURCE or requires a compiler that is designed to support C99 to expose the functionality.

avr-libc library is math h

A static variable is a variable that holds its value over several function calls.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere