Skip to content

Commit

Permalink
Mark new functions with FMT_API (#808)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jul 14, 2018
1 parent ae4a394 commit 0663ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,11 @@ inline fp operator-(fp x, fp y) {

// Computes an fp number r with r.f = x.f * y.f / pow(2, 64) rounded to nearest
// with half-up tie breaking, r.e = x.e + y.e + 64. Result may not be normalized.
fp operator*(fp x, fp y);
FMT_API fp operator*(fp x, fp y);

// Returns cached power (of 10) c_k = c_k.f * pow(2, c_k.e) such that its
// (binary) exponent satisfies min_exponent <= c_k.e <= min_exponent + 3.
fp get_cached_power(int min_exponent, int &pow10_exponent);
FMT_API fp get_cached_power(int min_exponent, int &pow10_exponent);

template <typename Allocator>
typename Allocator::value_type *allocate(Allocator& alloc, std::size_t n) {
Expand Down

0 comments on commit 0663ce5

Please sign in to comment.