Ignore:
File:
1 edited

Legend:

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

    ra35b458 rb69786e  
    6464        float32_t ret = 1;
    6565        float32_t nom = 1;
    66 
     66       
    6767        for (unsigned int i = 0; i < TAYLOR_DEGREE_32; i++) {
    6868                nom *= arg;
    6969                ret += nom / factorials[i];
    7070        }
    71 
     71       
    7272        return ret;
    7373}
     
    8989        float64_t ret = 1;
    9090        float64_t nom = 1;
    91 
     91       
    9292        for (unsigned int i = 0; i < TAYLOR_DEGREE_64; i++) {
    9393                nom *= arg;
    9494                ret += nom / factorials[i];
    9595        }
    96 
     96       
    9797        return ret;
    9898}
Note: See TracChangeset for help on using the changeset viewer.