exp10f - Linux


Overview

exp10f is a mathematical utility in Linux that calculates the exponential of the floating-point number in its argument. It computes the base-10 exponential of the given input value.

Syntax

exp10f <number>

Options/Flags

This command does not have any options or flags.

Examples

Calculate the exponential of 2.5:

$ exp10f 2.5
316.227766

Exponential of a negative number:

$ exp10f -3
0.001

Common Issues

None known.

Integration

Convert a scientific notation number to a decimal:

$ echo "1.23e5" | exp10f
123000

Chain with other commands:

$ seq 1 10 | xargs -I{} echo "10^{}" | xargs -I{} exp10f
10
100
1000
10000
100000
1000000
10000000
100000000
1000000000

Related Commands

  • log10: Calculate the base-10 logarithm of a number.
  • pow: Compute the power function.