Page MenuHomeFreeBSD

D40833.id124081.diff
No OneTemporary

D40833.id124081.diff

diff --git a/sys/libkern/divdi3.c b/sys/libkern/divdi3.c
--- a/sys/libkern/divdi3.c
+++ b/sys/libkern/divdi3.c
@@ -40,7 +40,6 @@
/*
* Divide two signed quads.
- * ??? if -1/2 should produce -1 on this machine, this code is wrong
*/
quad_t
__divdi3(quad_t a, quad_t b)
diff --git a/sys/libkern/divmoddi4.c b/sys/libkern/divmoddi4.c
--- a/sys/libkern/divmoddi4.c
+++ b/sys/libkern/divmoddi4.c
@@ -37,7 +37,6 @@
/*
* Divide two signed quads.
- * ??? if -1/2 should produce -1 on this machine, this code is wrong
*/
quad_t
__divmoddi4(quad_t a, quad_t b, quad_t *rem)
diff --git a/sys/libkern/moddi3.c b/sys/libkern/moddi3.c
--- a/sys/libkern/moddi3.c
+++ b/sys/libkern/moddi3.c
@@ -40,9 +40,6 @@
/*
* Return remainder after dividing two signed quads.
- *
- * XXX
- * If -1/2 should produce -1 on this machine, this code is wrong.
*/
quad_t
__moddi3(quad_t a, quad_t b)

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 11:15 PM (7 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15736960
Default Alt Text
D40833.id124081.diff (894 B)

Event Timeline