libkern: Trim OBE comment from divmoddi routines.
-1/2 is defined to be 0 in modern C. Reviewed by: jrtc27 Differential Revision: https://reviews.freebsd.org/D40833
This commit is contained in:
@@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
/*
|
||||
* 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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -40,9 +40,6 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
/*
|
||||
* 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)
|
||||
|
||||
Reference in New Issue
Block a user