mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	expansion analyzer now can use libgmp for better analysis
This commit is contained in:
		| @@ -417,6 +417,12 @@ EX string as_cstring(string o) { | ||||
| #endif | ||||
| #endif | ||||
|  | ||||
| #if CAP_GMP | ||||
| EX string its(mpq_class x) { std::stringstream ss; ss << x; return ss.str(); } | ||||
| EX void print(hstream& hs, const mpq_class& x) { | ||||
|   std::stringstream ss; ss << x; print(hs, ss.str());  | ||||
|   } | ||||
| #endif | ||||
|  | ||||
| #if HDR | ||||
| template<class... T> string lalign(int len, T... t) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue