Changeset 1024 for trunk/src/real.h


Ignore:
Timestamp:
Oct 14, 2011, 12:16:25 AM (9 years ago)
Author:
sam
Message:

core: implement frexp(), ldexp() and modf() for reals.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/real.h

    r1023 r1024  
    7070    friend real acos(real const &x);
    7171    friend real atan(real const &x);
    72     /* FIXME: atan2 */
     72    friend real atan2(real const &y, real const &x);
    7373
    7474    /* Hyperbolic functions */
     
    8383    friend real log2(real const &x);
    8484    friend real log10(real const &x);
    85     /* FIXME: frexp ldexp modf */
     85    friend real frexp(real const &x, int *exp);
     86    friend real ldexp(real const &x, int exp);
     87    friend real modf(real const &x, real *iptr);
    8688
    8789    /* Power functions */
Note: See TracChangeset for help on using the changeset viewer.