Ignore:
Timestamp:
Jan 21, 2018, 12:10:09 AM (6 years ago)
Author:
coas-nagasima
Message:

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

Location:
EcnlProtoTool/trunk/mruby-1.3.0
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/mruby-1.3.0/src/fmt_fp.c

    r321 r331  
    3434#include <ctype.h>
    3535
    36 #include "mruby.h"
    37 #include "mruby/string.h"
     36#include <mruby.h>
     37#include <mruby/string.h>
    3838
    3939struct fmt_args {
     
    157157    s=buf;
    158158    do {
    159       int x=y;
     159      int x=(int)y;
    160160      *s++=xdigits[x]|(t&32);
    161161      y=16*(y-x);
     
    185185
    186186  do {
    187     *z = y;
     187    *z = (uint32_t)y;
    188188    y = 1000000000*(y-*z++);
    189189  } while (y);
     
    195195      uint64_t x = ((uint64_t)*d<<sh)+carry;
    196196      *d = x % 1000000000;
    197       carry = x / 1000000000;
     197      carry = (uint32_t)(x / 1000000000);
    198198    }
    199199    if (carry) *--a = carry;
     
    254254  }
    255255  for (; z>a && !z[-1]; z--);
    256  
     256
    257257  if ((t|32)=='g') {
    258258    if (!p) p++;
     
    355355  default:
    356356    return -1;
    357   } 
     357  }
    358358}
    359359
Note: See TracChangeset for help on using the changeset viewer.