Skip to content

fp64lib.org

Handcrafted 64-bit floating point routines for AVR/arduino microprocessors

  • About
  • Documentation
    • fp64lib Library reference (A-Z)
    • fp64lib Library reference by functions
    • Using fp64lib with long double
    • fp64lib design principles
    • Benchmarks
    • Side-to-side comparision
    • History of fp64lib
    • Credits
  • Download
  • FAQ
fp64lib.org

fp64lib Library reference by functions

For Alphabetical reference see here…

1. Basic math

  • fp64_add (+)
  • fp64_div ( / )
  • fp64_fmod ( % )
  • fp64_mul (*)
  • fp64_neg ( -x )
  • fp64_sub ( – )
  • fp64_abs
  • fp64_fma (a*b+c)
  • fp64_inverse (1/x)
  • fp64_pow (xy)
  • fp64_sqrt
  • fp64_square (x2)

2. Basic functions

  • fp64_ceil
  • fp64_copysign
  • fp64_cut_noninteger_fraction
  • fp64_frexp
  • fp64_lrint
  • fp64_lround
  • fp64_round
  • fp64_signbit
  • fp64_trunc
  • fp64_fdim
  • fp64_fmax
  • fp64_fmin
  • fp64_fmodn
  • fp64_fmodx_pi2
  • fp64_ilogb
  • fp64_ldexp
  • fp64_modf
  • fp64_round
  • fp64_scalbln
  • fp64_scalbn

3. Type Conversions

to float64

  • (double) long int
  • (double) long long int
  • (double) long
  • (double) float
  • (double) unsigned int
  • (double) long long
  • fp64_atof
  • strtod

from float64

  • (float)
  • (long)
  • (int)
  • (long int)
  • (long long int)
  • (char)
  • (unsigned int)
  • (unsigned long)
  • (unsigned long long)
  • (unsigned char)
  • fp64_to_decimalExp

4. Trigonometric

  • fp64_cos
  • fp64_cosh
  • fp64_cotan
  • fp64_hypot
  • fp64_sin
  • fp64_sinh
  • fp64_tan
  • fp64_tanh
  • fp64_acos
  • fp64_acosh
  • fp64_asin
  • fp64_asinh
  • fp64_atan
  • fp64_atan2
  • fp64_atanh

5. Logarithm & exponential

  • fp64_log
  • fp64_logb
  • fp64_log10
  • fp64_log2
  • fp64_exp
  • fp64_exp10
  • fp64_pow10

6. Conditional / classifying

  • fp64_classify
  • fp64_compare ( <, ==, > )
  • fp64_isfinite
  • fp64_isinf
  • fp64_isnan

Contents

  • For Alphabetical reference see here…
  • 1. Basic math
  • 2. Basic functions
  • 3. Type Conversions
  • 4. Trigonometric
  • 5. Logarithm & exponential
  • 6. Conditional / classifying

Recent Posts

  • Homepage updated
  • V1.1.20 new function for better math.h coverage
  • About
  • V1.1.19 fixed bugs for programs >64kB
  • V1.1.18 enables programs >64kB

Archives

  • April 2022
  • March 2022
  • January 2022
  • September 2021
  • May 2021
  • March 2020
  • February 2020
  • January 2020
  • September 2019
  • August 2019

Categories

  • conversion
  • functions
  • Uncategorized
  • About
  • Documentation
    • fp64lib Library reference (A-Z)
    • fp64lib Library reference by functions
    • Using fp64lib with long double
    • fp64lib design principles
    • Benchmarks
    • Side-to-side comparision
    • History of fp64lib
    • Credits
  • Download
  • FAQ
fp64lib.org Proudly powered by WordPress