| History log of /src/sys/arch/m68k/fpe/fpu_rem.c | 
    | Revision |  | Date | Author | Comments | 
| 1.18 |  | 19-Nov-2023 | isaki | m68k: Remove an unused variable since rev 1.1. Detected by clang15 (nono emulator has imported and used this FPE).
 
 | 
| 1.17 |  | 05-Feb-2015 | isaki | Fix typo in comment.  pointed out by Y.Sugahara. 
 | 
| 1.16 |  | 11-May-2013 | isaki | branches:  1.16.10; Revise the algorithm after Step3.
 almost written by Y.Sugahara and minor modify by me.
 This works for all input of FMOD/FREM and of course solves PR/47810.
 
 | 
| 1.15 |  | 05-May-2013 | isaki | R := X even if L < 0 in Step2, according to algorithm of the comment. This solves many cases of |X| < |Y|.
 
 | 
| 1.14 |  | 05-May-2013 | isaki | Rename modrem -> is_mod for a readability. 
 | 
| 1.13 |  | 26-Mar-2013 | isaki | u_int -> uint32_t 
 | 
| 1.12 |  | 26-Mar-2013 | isaki | Fix a wrong "raw" comparison in step3.2. It should solve a PR kern/47692.
 
 | 
| 1.11 |  | 18-Jul-2011 | isaki | branches:  1.11.2;  1.11.12; fix indent again.
 - "Second level indents are four spaces." pointed out by tsutsui@
 - fold long line.
 
 | 
| 1.10 |  | 18-Jul-2011 | isaki | fix indent.  no functional changes. 
 | 
| 1.9 |  | 14-Mar-2009 | dsl | ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script!
 (or in sys/dist or sys/external)
 Mostly they have function pointer parameters.
 
 | 
| 1.8 |  | 14-Mar-2009 | dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */
 in the actual variable definitions - which my awk script doesn't handle.
 There are also many that need () -> (void).
 (The script does handle misordered arguments.)
 
 | 
| 1.7 |  | 14-Mar-2009 | dsl | Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball.
 i386 and amd64 GENERIC and sys still build.
 
 | 
| 1.6 |  | 11-Dec-2005 | christos | branches:  1.6.78;  1.6.86;  1.6.92; merge ktrace-lwp.
 
 | 
| 1.5 |  | 15-Jul-2003 | lukem | __KERNEL_RCSID() 
 | 
| 1.4 |  | 30-May-1999 | briggs | branches:  1.4.36; PR 7220 from Ken Nakata:
 I've fixed most (not all) m68k FPE bugs that give bogus
 calculation results, esp. fsqrt instruction.  Also, the internal FP
 representation has been reduced from 115-bit mantissa to 67-bit
 mantissa which reduced the required mantissa operation roughly by one
 fourth.  I've done an extensive (though not exhaustive - it's
 impossible!) test on the internal routines by feeding them randomly
 generated FP numbers, and found that the new code is more precise than
 MC68040 FPU (it seems to have a rounding bug).
 
 [ Only change was to keep fpu_calcea.c's name instead of renaming to
 fpu_ea.c in Ken's patch.  --akb ]
 
 | 
| 1.3 |  | 30-Apr-1996 | briggs | branches:  1.3.24;  1.3.26;  1.3.28; Bring back Step9 and fix an oversight from Ken Nakata <kenn@remus.rutgers.edu>
 
 | 
| 1.2 |  | 30-Apr-1996 | briggs | Update for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized. 
 | 
| 1.1 |  | 03-Nov-1995 | briggs | Still incomplete, but much more complete FPE from Ken Nakata <kenn@remus.rutgers.edu>.  This emulator does not yet emulate
 the following functions:
 FSINH, FETOXM1, FTANH, FATAN, FASIN, FATANH, FSIN, FTAN,
 FETOX, FTWOTOX, FTENTOX, FCOSH, FACOS, FCOS, FSINCOS
 It is sufficient, however, to allow programs like df, w, and newfs,
 to run to completion with correct results.
 Portions of this code were based on the sparc fpe and on initial
 work by gwr.
 
 | 
| 1.3.28.1 |  | 30-Nov-1999 | itojun | bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch just for reference purposes.
 This commit includes 1.4 -> 1.4.1 sync for kame branch.
 
 The branch does not compile at all (due to the lack of ALTQ and some other
 source code).  Please do not try to modify the branch, this is just for
 referenre purposes.
 
 synchronization to latest KAME will take place on HEAD branch soon.
 
 | 
| 1.3.26.1 |  | 21-Jun-1999 | thorpej | Sync w/ -current. 
 | 
| 1.3.24.2 |  | 06-Feb-2000 | he | Apply patch (requested by is): Revert floating point emulation software to the version released
 as NetBSD 1.4.  The upgrade done in 1.4.1 had problems.
 
 | 
| 1.3.24.1 |  | 21-Jun-1999 | perry | pullup 1.3->1.4 (briggs): fix FPE 
 | 
| 1.4.36.3 |  | 21-Sep-2004 | skrll | Fix the sync with head I botched. 
 | 
| 1.4.36.2 |  | 18-Sep-2004 | skrll | Sync with HEAD. 
 | 
| 1.4.36.1 |  | 03-Aug-2004 | skrll | Sync with HEAD 
 | 
| 1.6.92.1 |  | 13-May-2009 | jym | Sync with HEAD. 
 Commit is split, to avoid a "too many arguments" protocol error.
 
 | 
| 1.6.86.1 |  | 28-Apr-2009 | skrll | Sync with HEAD. 
 | 
| 1.6.78.1 |  | 04-May-2009 | yamt | sync with head. 
 | 
| 1.11.12.2 |  | 03-Dec-2017 | jdolecek | update from HEAD 
 | 
| 1.11.12.1 |  | 23-Jun-2013 | tls | resync from head 
 | 
| 1.11.2.1 |  | 22-May-2014 | yamt | sync with head. 
 for a reference, the tree before this commit was tagged
 as yamt-pagecache-tag8.
 
 this commit was splitted into small chunks to avoid
 a limitation of cvs.  ("Protocol error: too many arguments")
 
 | 
| 1.16.10.1 |  | 06-Apr-2015 | skrll | Sync with HEAD 
 |