♻️ replace further alternative operators
This commit is contained in:
		
							parent
							
								
									b2240f7508
								
							
						
					
					
						commit
						889f269a6c
					
				
					 3 changed files with 10 additions and 10 deletions
				
			
		|  | @ -1497,8 +1497,8 @@ class binary_writer | |||
| 
 | ||||
|     void write_compact_float(const number_float_t n, detail::input_format_t format) | ||||
|     { | ||||
|         if (static_cast<double>(n) >= static_cast<double>(std::numeric_limits<float>::lowest()) and | ||||
|                 static_cast<double>(n) <= static_cast<double>((std::numeric_limits<float>::max)()) and | ||||
|         if (static_cast<double>(n) >= static_cast<double>(std::numeric_limits<float>::lowest()) && | ||||
|                 static_cast<double>(n) <= static_cast<double>((std::numeric_limits<float>::max)()) && | ||||
|                 static_cast<double>(static_cast<float>(n)) == static_cast<double>(n)) | ||||
|         { | ||||
|             oa->write_character(format == detail::input_format_t::cbor | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue