User talk:GordonCharlton: Difference between revisions

Content added Content deleted
(bigrats)
Line 69: Line 69:


:::::Here you go. [http://rosettacode.org/wiki/Compound_data_type#Quackery Compound data type#Quackery] Thank you for suggesting structs. :-) --[[User:GordonCharlton|GordonCharlton]] ([[User talk:GordonCharlton|talk]]) 22:31, 19 February 2021 (UTC)
:::::Here you go. [http://rosettacode.org/wiki/Compound_data_type#Quackery Compound data type#Quackery] Thank you for suggesting structs. :-) --[[User:GordonCharlton|GordonCharlton]] ([[User talk:GordonCharlton|talk]]) 22:31, 19 February 2021 (UTC)

== vmax ==
Hi, Gordon. I recently found myself reaching for a <code>vmax</code> that wasn't there when writing a solution for http://rosettacode.org/wiki/Price_fraction#Quackery. I think it might be a nice addition to a future edition of <code>bigrat.qky</code>. :)

This was my first time really working with bigrats and I found it pretty interesting. Having instant access to numerator and denominator lets you tweak your calculations in ways that aren't readily apparent when working with a single value. But, of course, you need to tread especially lightly on the data stack. --[[User:Chunes|Chunes]] ([[User talk:Chunes|talk]]) 20:19, 9 March 2021 (UTC)