American Citizen on Wed, 21 May 2025 10:36:54 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
question on a possible new function or extending the existing one for core()
|
- To: pari-users <pari-users@pari.math.u-bordeaux.fr>
- Subject: question on a possible new function or extending the existing one for core()
- From: American Citizen <website.reader3@gmail.com>
- Date: Wed, 21 May 2025 01:36:48 -0700
- Delivery-date: Wed, 21 May 2025 10:36:54 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747816610; x=1748421410; darn=pari.math.u-bordeaux.fr; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=ietci3HX0fgElwuqDnGOqoEGOTPiIQ/ZmP9UcHBq3TU=; b=iU+WCPpDW7NMs2Myx8OCfBnP8CjlbRwFRvZh8hPrHwSzsPIsKVym5ESZ77WotVhm+g PHo5EeyB6DnZ6fsht48A1Yn/9Cw5FYXMAtBlmGZUDDSgdMC64VgLphCczdsteORqj9ws D1f3Txmng3ncuoLPkBPEYJ1a3+nGGS9iSsalPsQEnrJyrov+l+i4ILrztWc04M59COmE 4EKaLtafYOSxiJeRdhb8XzDveJ/jOuFwxx3LBlG80tTx/aNCwdTM34lFSgW5SfO5/Us2 Y4eCeusgyCmhaaeiimp/pTjzQdu9FzB2RzZ4vzTBzesD6i04TEhq1GHIgvbQ41PPwF4Q yz/Q==
- User-agent: Mozilla Thunderbird
We know that core finds the non-square portion of an integer number and
returns it, or if a nonzero flag is used, returns both the non-square
and the positive square root of the square (which is handy)
Can we extend core to the t_FRAC type? I defined qcore(n) =
core(numerator(n))/core(denominator(n)), and I suppose f can be found
from this too.
Please consider extending this function? Thank you.
Randall