MCPcopy Create free account
hub / github.com/F-Stack/f-stack / validbcd

Function validbcd

freebsd/sys/libkern.h:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85static inline bool
86validbcd(int bcd)
87{
88
89 return (bcd == 0 || (bcd > 0 && bcd <= 0x99 && bcd2bin_data[bcd] != 0));
90}
91static __inline int imax(int a, int b) { return (a > b ? a : b); }
92static __inline int imin(int a, int b) { return (a < b ? a : b); }
93static __inline long lmax(long a, long b) { return (a > b ? a : b); }

Callers 1

clock_bcd_to_tsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected