search for: arithmetr

Displaying 5 results from an estimated 5 matches for "arithmetr".

Did you mean: arithmetic
2012 Oct 11
2
Help on probability distribution question
...st often the assumption is made to simulate this parameters with a normal distribution but in the "log-domain" to avoid from negative values to be generated. Since the expected mean  and SD is usually known from the normal domain, using the methods described in the wikipedia article "Arithmetric moments" I generate μand σ and simulate with rlnorm(). At times though the following issue comes up: I have the mean and SD for the parameters available from the normal domain, and the covariance matrix from the normal domain. Then I would like to simulate the values, but to avoid from negat...
2009 Mar 22
1
[PATCH] [memdisk] Additional comments in memdisk.inc and postprocess.pl
...nction? jne .restoredl test byte [bp+4],80h ; Hard disk? jnz .norestoredl -.restoredl: +.restoredl: ; DL should have number of drives mov dl,[bp+4] .norestoredl: push ax @@ -129,7 +132,7 @@ Int13Start: push ds mov ax,[bp+2] ; Flags lds ebx,[cs:Stack] - mov [bx+4],al ; Arithmetric flags + mov [bx+4],al ; Arithmetic flags pop ds pop ebx pop ax @@ -166,7 +169,7 @@ DoneWeird: and ah,ah lds ebx,[Stack] - ; This sets the low byte (the arithmetric flags) of the + ; This sets the low byte (the arithmetic flags) of the ; FLAGS on stack to either 00h (no fla...
2006 Jun 26
0
[klibc 23/43] cris support for klibc
...32 -DNAME=__Div -c -o $@ $< + +archclean: diff --git a/usr/klibc/arch/cris/__negdi2.S b/usr/klibc/arch/cris/__negdi2.S new file mode 100644 index 0000000..3cca9ed --- /dev/null +++ b/usr/klibc/arch/cris/__negdi2.S @@ -0,0 +1,25 @@ +/* + * arch/cris/__negdi2.c + */ + +/* + * In 2's complement arithmetric, -x == (~x + 1), so + * -{h,l} = (~{h,l} + {0,1) + * -{h,l} = {~h,~l} + {0,1} + * -{h,l} = {~h + cy, ~l + 1} + * ... where cy = (l == 0) + * -{h,l} = {~h + cy, -l} + */ + + .text + .balign 4 + .type __negdi2, at function + .globl __negdi2 +__negdi2: + neg.d $r10,$r10 + seq $r12 + not $r11 + ret +...
2020 Apr 30
0
[klibc:master] arch: Remove cris port
...linking -KLIBCLDFLAGS += -mcrislinux diff --git a/usr/klibc/arch/cris/__negdi2.S b/usr/klibc/arch/cris/__negdi2.S deleted file mode 100644 index 3cca9edf..00000000 --- a/usr/klibc/arch/cris/__negdi2.S +++ /dev/null @@ -1,25 +0,0 @@ -/* - * arch/cris/__negdi2.c - */ - -/* - * In 2's complement arithmetric, -x == (~x + 1), so - * -{h,l} = (~{h,l} + {0,1) - * -{h,l} = {~h,~l} + {0,1} - * -{h,l} = {~h + cy, ~l + 1} - * ... where cy = (l == 0) - * -{h,l} = {~h + cy, -l} - */ - - .text - .balign 4 - .type __negdi2, at function - .globl __negdi2 -__negdi2: - neg.d $r10,$r10 - seq $r12 - not $r11 - ret -...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: