IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 6, 2015, 10:24:47 AM (11 years ago)
Author:
eugene
Message:

try frexp instead of log & pow in sprintf_float,double (not an improvement)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libohana/test/sprintf_floats.c

    r39046 r39058  
    22# include "tap_ohana.h"
    33
     4# define DO_FLOATS 1
     5# define DO_DOUBLES 1
    46# define NTESTS 300000
    57
     
    3436int main (void) {
    3537
    36   plan_tests (20);
     38  // plan_tests (2013);
     39  plan_tests (4026);
    3740
    3841  diag ("libohana print_float.c tests");
    3942
    4043  /*** sprint_float ***/
    41   if (1) {
     44  if (DO_FLOATS) {
    4245    int Noutput;
    4346    char output[128];
     
    8184 
    8285  /*** sprint_double ***/
    83   if (1) {
     86  if (DO_DOUBLES) {
    8487    int Noutput;
    8588    char output[128];
Note: See TracChangeset for help on using the changeset viewer.