Search results

View (previous 20 | ) (20 | 50 | 100 | 250 | 500)
  • if $m < 0 then "numerator must not be negative" | error doAssert m >= 0, "m must not be negative." ...
    51 KB (3,988 words) - 14:43, 3 January 2024
  • s = signbit(signed(p.bits)) # s for S signbit, is 1 if negative s && (pabs = (-p.bits) << 1) # If p is negative, flip to 2's complement ...
    38 KB (4,461 words) - 16:45, 25 January 2024
  • ...edures etc. in your language to generate a Verhoeff checksum digit for non-negative integers of any length and to validate the result. A combined routine is al const std::array<data, 3> tests = { ...
    62 KB (6,550 words) - 20:47, 26 March 2024
  • ...ed upon construction. The returned numerator() and denominator() are never negative; the sign can be retrieved via signum(). The denominator for zero is always ...em.out.println(passedAll ? "Passed all tests" : "FAILURE: DID NOT PASS ALL TESTS"); ...
    23 KB (2,028 words) - 04:19, 1 July 2023
  • |2||2||-1||Start equal stop: negative increment tests : array(1..9) of test_record := ...
    121 KB (15,168 words) - 15:17, 5 May 2024
  • Support for inputs other than positive integers (like zero, negative integers, fractions and floating-point numbers) is optional. (negative-p (eq (car tokens) 'negative))) ...
    116 KB (13,146 words) - 09:22, 6 January 2024
  • ...Wolfram Mathworld]</ref><ref>[https://en.wikipedia.org/wiki/Negative_base Negative base] on Wikipedia</ref> <syntaxhighlight lang="algol68"># Conversion to/from negative base numbers # ...
    91 KB (11,295 words) - 16:38, 12 May 2024
  • =={{header|Negative tests}}== >lex ..\negative.t | parse | gen | vm ...
    53 KB (4,411 words) - 13:23, 5 August 2023
  • List<String> tests = List.of( "ALERT|G", "wert↑", "@♂aN°$ª7Î", "ÙC▼æÔt6¤☻Ì", "\"@)Ð♠qhýÌÿ", for ( String test : tests ) { ...
    64 KB (7,982 words) - 00:05, 26 January 2024
  • ...calculate &nbsp; '''n''' &nbsp; decimal digits of the square root of a non─negative number. log.Fatal("Number cannot be negative") ...
    101 KB (8,505 words) - 16:08, 9 February 2024
  • long[] tests = new long[] { 1, 2, 3, 4, 5, 11, 65, 100, 101, 272, 23456, 800700600500400 foreach (long test in tests) ...
    97 KB (10,583 words) - 03:31, 9 March 2024
  • with the understanding that [] represents the null sequence. i and j may be negative. # Allow negative integers ...
    74 KB (9,230 words) - 10:07, 14 February 2024
  • # Support arbitrary precision real numbers, both positive and negative; negative := (zdx == 1 && n[0] == '-') || (zdx != 1 && idx < zdx) ...
    183 KB (22,346 words) - 14:01, 7 December 2023
  • Write a function which tests if infinity is supported for floating point numbers (this step should be om The global isFinite function tests for finiteness: ...
    55 KB (7,261 words) - 14:18, 17 March 2024
  • var tests = new (string, int?, int?)[] foreach (var test in tests) ...
    71 KB (7,464 words) - 22:30, 12 March 2024
  • <syntaxhighlight lang="6502asm">php ;NV-BDIZC (N=negative V=overflow B=break D=decimal I=Interrupt Z=Zero C=Carry) ...ghlight lang="fortran"> CALL AFFIRM(SSQ.GE.0,"Sum of squares can't be negative.") !Perhaps two passes should be used.</syntaxhighlight> ...
    41 KB (5,502 words) - 09:41, 7 November 2023
  • -- Tests and results: ---------------------------- TESTS -------------------------- ...
    70 KB (8,823 words) - 16:14, 28 April 2024
  • :* You may optionally support negative numbers. '''-7''' is '''negative seven'''. result = ‘negative ’ ...
    171 KB (22,594 words) - 16:16, 19 April 2024
  • V tests = [‘123456789.123456789’, print(commatize(tests[0], period' 2, sep' ‘*’)) ...
    90 KB (9,954 words) - 11:45, 20 November 2023
  • Tests = [[25420294593250030202636073700053352635053786165627414518,"6UwLL9Risc3Qf foreach([Test,Check] in Tests) ...
    68 KB (7,547 words) - 08:28, 19 January 2024
View (previous 20 | ) (20 | 50 | 100 | 250 | 500)