From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: syntaxic exploration Date: Sun, 24 Dec 2017 00:11:39 +0200 Organization: Tidorum Ltd Message-ID: References: <0d33e631-e63d-4346-ac95-5eec72127f4f@googlegroups.com> <9d732dee-2780-4577-a038-b6e1f13cb51e@googlegroups.com> <9f8c4fb5-672e-4891-a87b-00d73ebf1609@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net r6y7dt5sQpr6HZZQk+YMkgrYHpzMimXB3vJ/oCodaAS3Rm8Dff Cancel-Lock: sha1:cLjDNkt4BKG9/gp2lFZYGiDXjaU= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: Xref: reader02.eternal-september.org comp.lang.ada:49615 Date: 2017-12-24T00:11:39+02:00 List-Id: On 17-12-23 17:03 , Mehdi Saada wrote: > the function "+" is wrong as well. Sorry, can't much help you debug this, as most of your code is still not shown. For example, the error might be in your ECRIRE procedure, or in your operations on T_Rationnel. > Do you thing I should take a break from Ada and invest time more on > algorithmic courses ? Because I feel really down now. I simply > shouldn't be so mediocre. I didn't use to be a second-rate student > for the matters I liked. Have you _reviewed_ and _tested_ your code for T_Rationnel and ECRIRE? Are you sure that they work? How about starting with T_Rationnel replaced by Integer (for example, subtype T_Rationnel is Integer), and then seeing if the polynomial operations work with this simpler coefficient type? -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .