Changeset 341
- Timestamp:
- 01/07/07 16:56:56 (2 years ago)
- Location:
- trunk
- Files:
-
- 6 modified
-
orca/series.c (modified) (1 diff)
-
thune/boot.c (modified) (1 diff)
-
thune/doc/UserManual (modified) (1 diff)
-
thune/math.c (modified) (1 diff)
-
thune/mkboot.t (modified) (1 diff)
-
thune/series.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/orca/series.c
r144 r341 1117 1117 else // OT_DECIMAL 1118 1118 n = ((int) orDecimal(a2)); 1119 if( n == 1)1120 n = 0;1119 if( n > 0 ) 1120 --n; 1121 1121 } 1122 1122 -
trunk/thune/boot.c
r323 r341 172 172 "[0 swap add] proc :to-dec\n" 173 173 "[rot minimum maximum] proc :limit ; (n min max -- n)\n" 174 "[append drop] proc :appen\n" 174 175 "[blk | ctx num word]\n" 175 176 "[\n" -
trunk/thune/doc/UserManual
r337 r341 385 385 ========== ====================== ================= 386 386 empty? (ser -- logic) Same as tail?. 387 appen (ser val -- ) Append and drop. 387 388 map (ser comb -- ) Transform each element of a series. 388 389 split-path (full -- path file) Split full path into path & file. -
trunk/thune/math.c
r336 r341 541 541 else if( ur_is(tos, UT_INT) ) 542 542 { 543 ur_int(tos) = (genrand_int32() % ur_int(tos)) + 1; 543 if( ur_int(tos) > 0 ) 544 ur_int(tos) = (genrand_int32() % ur_int(tos)) + 1; 544 545 } 545 546 else if( ur_isASeries( tos ) ) -
trunk/thune/mkboot.t
r323 r341 199 199 [rot minimum maximum] proc :limit ; (n min max -- n) 200 200 201 [append drop] proc :appen 202 201 203 [blk | ctx num word] 202 204 [ -
trunk/thune/series.c
r337 r341 1847 1847 else // UT_DECIMAL 1848 1848 n = (int) ur_decimal(tos); 1849 if( n == 1)1850 n = 0;1849 if( n > 0 ) 1850 --n; 1851 1851 } 1852 1852
