Name:

getsuppressedmessages returns a list of numbers of messages that have been suppressed from message output

Library name:

sollya_obj_t sollya_lib_getsuppressedmessages();

Usage:

getsuppressedmessages() : void -> list

Description:

Example 1:

   > verbosity = 1;
   The verbosity level has been set to 1.
   > 0.1;
   Warning: Rounding occurred when converting the constant "0.1" to floating-point with 165 bits.
   If safe computation is needed, try to increase the precision.
   0.1
   > suppressmessage(174);
   > 0.1;
   0.1
   > suppressmessage(407);
   > 0.1;
   0.1
   > getsuppressedmessages();
   [|174, 407|]
   > suppressmessage(207, 196);
   > getsuppressedmessages();
   [|174, 196, 207, 407|]

Example 2:

   > suppressmessage(174, 209, 13, 24, 196);
   > suppressmessage([| 16, 17 |]);
   > suppressmessage(19);
   > unsuppressmessage([| 13, 17 |]);
   > getsuppressedmessages();
   [|16, 19, 24, 174, 196, 209|]
   > unsuppressmessage(getsuppressedmessages());
   > getsuppressedmessages();
   [| |]

Example 3:

   > verbosity = 12;
   The verbosity level has been set to 12.
   > suppressmessage(174);
   > exp(x * 0.1);
   Information: no Horner simplification will be performed because the given tree is already in Horner form.
   exp(x * 0.1)
   > getsuppressedmessages();
   [|174|]
   > verbosity = 0;
   The verbosity level has been set to 0.
   > exp(x * 0.1);
   exp(x * 0.1)
   > getsuppressedmessages();
   [|174|]
See also: getsuppressedmessages, suppressmessage, unsuppressmessage, verbosity, roundingwarnings
Go back to the list of commands