Searched refs:decimals (Results 1 – 3 of 3) sorted by relevance
41 u8 decimals[MAXLEN]; member111 u8 decimals = 0; in update_display_visual() local130 decimals |= mydev->decimals[i] << i; in update_display_visual()205 if (mydev->decimals[i] == 0) in decimals_show()207 else if (mydev->decimals[i] == 1) in decimals_show()213 buf[sizeof(mydev->decimals)] = '\n'; in decimals_show()214 return sizeof(mydev->decimals) + 1; in decimals_show()225 if (end > sizeof(mydev->decimals)) in decimals_store()232 memset(mydev->decimals, 0, sizeof(mydev->decimals)); in decimals_store()235 mydev->decimals[end-1-i] = 1; in decimals_store()[all …]
380 decimals: [u8; MAX_FIFO_SIZE], field388 self.decimals[i + len] = self.decimals[i]; in push()391 self.decimals[i] = (chunk % 10) as u8; in push()407 out += u16::from(self.decimals[self.len + i]) * exp; in pop3()
3843 long decimals = -1; in strict_strtoul_scaled() local3844 while (isdigit(*cp) || (*cp == '.' && decimals < 0)) { in strict_strtoul_scaled()3846 decimals = 0; in strict_strtoul_scaled()3847 else if (decimals < scale) { in strict_strtoul_scaled()3851 if (decimals >= 0) in strict_strtoul_scaled()3852 decimals++; in strict_strtoul_scaled()3860 if (decimals < 0) in strict_strtoul_scaled()3861 decimals = 0; in strict_strtoul_scaled()3862 *res = result * int_pow(10, scale - decimals); in strict_strtoul_scaled()
Completed in 20 milliseconds