mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
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:
parent
df11fb9bf0
commit
84deca4d8c
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue