Changeset 1433ecda in mainline for uspace/lib/math/generic/log.c


Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/math/generic/log.c

    r47b2d7e3 r1433ecda  
    123123         * log(m) + log2(2^e) / log2(e) = log(m) + e / log2(e)
    124124         */
    125         return - taylor_log_32(m.val - 1.0) + e / M_LOG2E;
     125        return -taylor_log_32(m.val - 1.0) + e / M_LOG2E;
    126126}
    127127
     
    154154         * log(m) + log2(2^e) / log2(e) = log(m) + e / log2(e)
    155155         */
    156         return - taylor_log_64(m.val - 1.0) + e / M_LOG2E;
     156        return -taylor_log_64(m.val - 1.0) + e / M_LOG2E;
    157157}
    158158
Note: See TracChangeset for help on using the changeset viewer.