IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 7, 2008, 3:31:01 PM (18 years ago)
Author:
eugene
Message:

big update from eam_branch_20081124 with updates to Opihi math

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/dvomath.c

    r14708 r20936  
    7676    case 0:
    7777      if (Ncstack == 1) {
    78           /* use exact input work */
    79           sprintf (outname, "%s", stack[0].name);
     78        /* use exact input word */
     79        sprintf (outname, "%s", stack[0].name);
    8080      } else {
    81           sprintf (outname, "%.12g", stack[0].Float);
     81        if (stack[0].type == 's') {
     82          sprintf (outname, "%d", stack[0].IntValue);
     83        } else {
     84          sprintf (outname, "%.12g", stack[0].FltValue);
     85        }
    8286      }
    8387      break;
Note: See TracChangeset for help on using the changeset viewer.