Jacques Gélinas on Tue, 13 Feb 2018 23:41:15 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
polrecip for a constant polymomial
|
- To: "pari-users@pari.math.u-bordeaux.fr" <pari-users@pari.math.u-bordeaux.fr>
- Subject: polrecip for a constant polymomial
- From: Jacques Gélinas <jacquesg00@hotmail.com>
- Date: Tue, 13 Feb 2018 22:41:01 +0000
- Accept-language: fr-CA, en-US
- Delivery-date: Tue, 13 Feb 2018 23:41:15 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yOcfgu/evC+CGdiMy/xAgwWi/2abfxOxw5OxefVK8LA=; b=Qf4ObnjV6hARzqpa7X7NiLJA7Em/r3wMfFwBtbtzMr9QZ5ns92570aIIJb0u+qTuvQZmZmW+euGu62XvOAGOH++Zlx4aEaewKh9R+n7vugaS4LO1eXIQHOgueQrBAW/ya0RD94+JicxaykTaAt75/BTQHgcgPu1tzpCNA5qKO0wFJqKp5o7g3D06l+tHC847Sp1VL/9tlhgy1QN9zM5cj2jX/Obi17V8JO1xQ1WOhDsNgAtTgQdaPCp5d1FSFZl4wsyr07WJZ6zJ7OcyXstzyVZMCUogd7MHAleUd2grPWmGACCR9ra86z4dQdt9WqRKfTbM++bV19F7ourAzQcLNw==
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
- Thread-index: AQHTpRumHMq5YGsu0EqNmt4g8qANIw==
- Thread-topic: polrecip for a constant polymomial
It is inconvenient to have to add code to handle constant polynomials.
Why not return the constant itself ?
# polrecip(2+0*x)
%1 = 2
# polrecip(2)
*** at top-level: polrecip(2)
*** ^-----------
*** polrecip: incorrect type in polrecip (t_INT).
Jacques Gélinas, Ottawa